Changeset 106223 in webkit
- Timestamp:
- Jan 30, 2012 2:10:33 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 5 added
- 2 deleted
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r106221 r106223 1 2012-01-30 Hans Wennborg <hans@chromium.org> 2 3 Unreviewed, rolling out r106219. 4 http://trac.webkit.org/changeset/106219 5 https://bugs.webkit.org/show_bug.cgi?id=77083 6 7 This broke Chromium's test_shell. 8 9 * GNUmakefile.list.am: 10 * Target.pri: 11 * WebCore.gypi: 12 * WebCore.vcproj/WebCore.vcproj: 13 * WebCore.xcodeproj/project.pbxproj: 14 * platform/mock/SpeechInputClientMock.cpp: Added. 15 (WebCore): 16 (WebCore::SpeechInputClientMock::SpeechInputClientMock): 17 (WebCore::SpeechInputClientMock::setListener): 18 (WebCore::SpeechInputClientMock::startRecognition): 19 (WebCore::SpeechInputClientMock::stopRecording): 20 (WebCore::SpeechInputClientMock::cancelRecognition): 21 (WebCore::SpeechInputClientMock::addRecognitionResult): 22 (WebCore::SpeechInputClientMock::clearResults): 23 (WebCore::SpeechInputClientMock::timerFired): 24 * platform/mock/SpeechInputClientMock.h: Added. 25 (WebCore): 26 (SpeechInputClientMock): 27 1 28 2012-01-30 Yury Semikhatsky <yurys@chromium.org> 2 29 -
trunk/Source/WebCore/GNUmakefile.list.am
r106220 r106223 3142 3142 Source/WebCore/platform/mock/ScrollbarThemeMock.cpp \ 3143 3143 Source/WebCore/platform/mock/ScrollbarThemeMock.h \ 3144 Source/WebCore/platform/mock/SpeechInputClientMock.cpp \ 3145 Source/WebCore/platform/mock/SpeechInputClientMock.h \ 3144 3146 Source/WebCore/platform/network/AuthenticationChallengeBase.cpp \ 3145 3147 Source/WebCore/platform/network/AuthenticationChallengeBase.h \ -
trunk/Source/WebCore/Target.pri
r106219 r106223 1107 1107 platform/mock/GeolocationClientMock.cpp \ 1108 1108 platform/mock/GeolocationServiceMock.cpp \ 1109 platform/mock/SpeechInputClientMock.cpp \ 1109 1110 platform/mock/ScrollbarThemeMock.cpp \ 1110 1111 platform/network/AuthenticationChallengeBase.cpp \ … … 2100 2101 platform/mock/GeolocationClientMock.cpp \ 2101 2102 platform/mock/GeolocationServiceMock.h \ 2103 platform/mock/SpeechInputClientMock.h \ 2102 2104 platform/mock/ScrollbarThemeMock.h \ 2103 2105 platform/graphics/BitmapImage.h \ -
trunk/Source/WebCore/WebCore.gypi
r106219 r106223 3853 3853 'platform/mock/ScrollbarThemeMock.cpp', 3854 3854 'platform/mock/ScrollbarThemeMock.h', 3855 'platform/mock/SpeechInputClientMock.cpp', 3856 'platform/mock/SpeechInputClientMock.h', 3855 3857 'platform/network/AuthenticationChallengeBase.cpp', 3856 3858 'platform/network/BlobData.cpp', -
trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj
r106219 r106223 32625 32625 > 32626 32626 </File> 32627 <File 32628 RelativePath="..\platform\mock\SpeechInputClientMock.cpp" 32629 > 32630 </File> 32631 <File 32632 RelativePath="..\platform\mock\SpeechInputClientMock.h" 32633 > 32634 </File> 32627 32635 </Filter> 32628 32636 </Filter> -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r106219 r106223 1798 1798 750D029311D0E7F300BD1B27 /* RenderInputSpeech.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 750D029111D0E7F300BD1B27 /* RenderInputSpeech.cpp */; }; 1799 1799 750D029411D0E7F300BD1B27 /* RenderInputSpeech.h in Headers */ = {isa = PBXBuildFile; fileRef = 750D029211D0E7F300BD1B27 /* RenderInputSpeech.h */; }; 1800 7535BC9412020CFF0037EC45 /* SpeechInputClientMock.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7535BC9212020CFF0037EC45 /* SpeechInputClientMock.cpp */; }; 1801 7535BC9512020CFF0037EC45 /* SpeechInputClientMock.h in Headers */ = {isa = PBXBuildFile; fileRef = 7535BC9312020CFF0037EC45 /* SpeechInputClientMock.h */; }; 1800 1802 754133A8102E00E800075D00 /* InspectorTimelineAgent.h in Headers */ = {isa = PBXBuildFile; fileRef = 754133A7102E00E800075D00 /* InspectorTimelineAgent.h */; }; 1801 1803 754133AA102E00F400075D00 /* InspectorTimelineAgent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 754133A9102E00F400075D00 /* InspectorTimelineAgent.cpp */; }; … … 8658 8660 750D029111D0E7F300BD1B27 /* RenderInputSpeech.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderInputSpeech.cpp; sourceTree = "<group>"; }; 8659 8661 750D029211D0E7F300BD1B27 /* RenderInputSpeech.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderInputSpeech.h; sourceTree = "<group>"; }; 8662 7535BC9212020CFF0037EC45 /* SpeechInputClientMock.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SpeechInputClientMock.cpp; path = mock/SpeechInputClientMock.cpp; sourceTree = "<group>"; }; 8663 7535BC9312020CFF0037EC45 /* SpeechInputClientMock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SpeechInputClientMock.h; path = mock/SpeechInputClientMock.h; sourceTree = "<group>"; }; 8660 8664 754133A7102E00E800075D00 /* InspectorTimelineAgent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InspectorTimelineAgent.h; sourceTree = "<group>"; }; 8661 8665 754133A9102E00F400075D00 /* InspectorTimelineAgent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InspectorTimelineAgent.cpp; sourceTree = "<group>"; }; … … 14746 14750 0FE71403142170B800DB33BA /* ScrollbarThemeMock.cpp */, 14747 14751 0FE71404142170B800DB33BA /* ScrollbarThemeMock.h */, 14752 7535BC9212020CFF0037EC45 /* SpeechInputClientMock.cpp */, 14753 7535BC9312020CFF0037EC45 /* SpeechInputClientMock.h */, 14748 14754 ); 14749 14755 name = mock; … … 23511 23517 7578F90C11DDF26900D933C5 /* SpeechInput.h in Headers */, 23512 23518 7578F90D11DDF26900D933C5 /* SpeechInputClient.h in Headers */, 23519 7535BC9512020CFF0037EC45 /* SpeechInputClientMock.h in Headers */, 23513 23520 75415AFD12958D5E003AD669 /* SpeechInputEvent.h in Headers */, 23514 23521 7578F92011E4E32800D933C5 /* SpeechInputListener.h in Headers */, … … 26567 26574 626CDE0E1140424C001E5A68 /* SpatialNavigation.cpp in Sources */, 26568 26575 7578F90B11DDF26900D933C5 /* SpeechInput.cpp in Sources */, 26576 7535BC9412020CFF0037EC45 /* SpeechInputClientMock.cpp in Sources */, 26569 26577 75415C28129A9920003AD669 /* SpeechInputEvent.cpp in Sources */, 26570 26578 758978EC127090D60076D5A9 /* SpeechInputResult.cpp in Sources */, -
trunk/Source/WebKit/chromium/ChangeLog
r106219 r106223 1 2012-01-30 Hans Wennborg <hans@chromium.org> 2 3 Unreviewed, rolling out r106219. 4 http://trac.webkit.org/changeset/106219 5 https://bugs.webkit.org/show_bug.cgi?id=77083 6 7 This broke Chromium's test_shell. 8 9 * WebKit.gyp: 10 * public/WebSpeechInputControllerMock.h: Added. 11 (WebKit): 12 (WebSpeechInputControllerMock): 13 (WebKit::WebSpeechInputControllerMock::~WebSpeechInputControllerMock): 14 * public/WebSpeechInputResult.h: 15 (WebSpeechInputResult): 16 * src/WebSpeechInputControllerMockImpl.cpp: Added. 17 (WebKit): 18 (WebKit::WebSpeechInputControllerMock::create): 19 (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl): 20 (WebKit::WebSpeechInputControllerMockImpl::~WebSpeechInputControllerMockImpl): 21 (WebKit::WebSpeechInputControllerMockImpl::addMockRecognitionResult): 22 (WebKit::WebSpeechInputControllerMockImpl::clearResults): 23 (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording): 24 (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition): 25 (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult): 26 (WebKit::WebSpeechInputControllerMockImpl::startRecognition): 27 (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition): 28 (WebKit::WebSpeechInputControllerMockImpl::stopRecording): 29 * src/WebSpeechInputControllerMockImpl.h: Added. 30 (WebCore): 31 (WebKit): 32 (WebSpeechInputControllerMockImpl): 33 * src/WebSpeechInputResult.cpp: 34 1 35 2012-01-26 Hans Wennborg <hans@chromium.org> 2 36 -
trunk/Source/WebKit/chromium/WebKit.gyp
r106219 r106223 246 246 'public/WebSocketClient.h', 247 247 'public/WebSpeechInputController.h', 248 'public/WebSpeechInputControllerMock.h', 248 249 'public/WebSpeechInputListener.h', 249 250 'public/WebSpeechInputResult.h', … … 642 643 'src/WebSolidColorLayer.cpp', 643 644 'src/WebSolidColorLayerImpl.cpp', 645 'src/WebSpeechInputControllerMockImpl.cpp', 646 'src/WebSpeechInputControllerMockImpl.h', 644 647 'src/WebSpeechInputResult.cpp', 645 648 'src/WebStorageAreaImpl.cpp', -
trunk/Source/WebKit/chromium/public/WebSpeechInputResult.h
r106219 r106223 43 43 public: 44 44 WebSpeechInputResult() { } 45 WebSpeechInputResult(const WebSpeechInputResult& other) { assign(other); }46 45 ~WebSpeechInputResult() { reset(); } 47 46 48 47 WEBKIT_EXPORT void set(const WebString& utterance, double confidence); 49 WEBKIT_EXPORT void assign(const WebSpeechInputResult& other);50 48 WEBKIT_EXPORT void reset(); 51 49 -
trunk/Source/WebKit/chromium/src/WebSpeechInputResult.cpp
r106219 r106223 49 49 } 50 50 51 void WebSpeechInputResult::assign(const WebSpeechInputResult& other)52 {53 m_private = WebCore::SpeechInputResult::create(*other.m_private.get());54 }55 56 51 WebSpeechInputResult::operator PassRefPtr<WebCore::SpeechInputResult>() const 57 52 { -
trunk/Tools/ChangeLog
r106219 r106223 1 2012-01-30 Hans Wennborg <hans@chromium.org> 2 3 Unreviewed, rolling out r106219. 4 http://trac.webkit.org/changeset/106219 5 https://bugs.webkit.org/show_bug.cgi?id=77083 6 7 This broke Chromium's test_shell. 8 9 * DumpRenderTree/DumpRenderTree.gypi: 10 * DumpRenderTree/chromium/LayoutTestController.cpp: 11 (LayoutTestController::addMockSpeechInputResult): 12 * DumpRenderTree/chromium/LayoutTestController.h: 13 (WebKit): 14 (LayoutTestController): 15 (): 16 * DumpRenderTree/chromium/MockWebSpeechInputController.cpp: Removed. 17 * DumpRenderTree/chromium/MockWebSpeechInputController.h: Removed. 18 * DumpRenderTree/chromium/TestShell.cpp: 19 * DumpRenderTree/chromium/WebViewHost.cpp: 20 (WebViewHost::speechInputController): 21 * DumpRenderTree/chromium/WebViewHost.h: 22 (WebKit): 23 (WebViewHost::speechInputControllerMock): 24 (WebViewHost): 25 (): 26 1 27 2012-01-26 Hans Wennborg <hans@chromium.org> 2 28 -
trunk/Tools/DumpRenderTree/DumpRenderTree.gypi
r106219 r106223 23 23 'chromium/MockSpellCheck.cpp', 24 24 'chromium/MockSpellCheck.h', 25 'chromium/MockWebSpeechInputController.cpp',26 'chromium/MockWebSpeechInputController.h',27 25 'chromium/NotificationPresenter.h', 28 26 'chromium/NotificationPresenter.cpp', -
trunk/Tools/DumpRenderTree/chromium/LayoutTestController.cpp
r106219 r106223 34 34 35 35 #include "DRTDevToolsAgent.h" 36 #include "MockWebSpeechInputController.h"37 36 #include "TestShell.h" 38 37 #include "WebAnimationController.h" … … 57 56 #include "WebSettings.h" 58 57 #include "platform/WebSize.h" 58 #include "WebSpeechInputControllerMock.h" 59 59 #include "platform/WebURL.h" 60 60 #include "WebView.h" … … 1935 1935 return; 1936 1936 1937 if ( MockWebSpeechInputController* controller = m_shell->webViewHost()->speechInputControllerMock())1937 if (WebSpeechInputControllerMock* controller = m_shell->webViewHost()->speechInputControllerMock()) 1938 1938 controller->addMockRecognitionResult(cppVariantToWebString(arguments[0]), arguments[1].toDouble(), cppVariantToWebString(arguments[2])); 1939 1939 } -
trunk/Tools/DumpRenderTree/chromium/LayoutTestController.h
r106219 r106223 53 53 namespace WebKit { 54 54 class WebGeolocationClientMock; 55 class WebSpeechInputController; 56 class WebSpeechInputControllerMock; 57 class WebSpeechInputListener; 55 58 } 56 59 … … 440 443 void setWorkQueueFrozen(bool frozen) { m_workQueue.setFrozen(frozen); } 441 444 445 WebKit::WebSpeechInputController* speechInputController(WebKit::WebSpeechInputListener*); 442 446 bool shouldDumpAsAudio() const { return m_dumpAsAudio; } 443 447 void setShouldDumpAsAudio(bool dumpAsAudio) { m_dumpAsAudio = dumpAsAudio; } … … 696 700 WebKit::WebURL m_userStyleSheetLocation; 697 701 702 OwnPtr<WebKit::WebSpeechInputControllerMock> m_speechInputControllerMock; 703 698 704 // WAV audio data is stored here. 699 705 WebKit::WebArrayBufferView m_audioData; -
trunk/Tools/DumpRenderTree/chromium/TestShell.cpp
r106219 r106223 53 53 #include "WebSettings.h" 54 54 #include "platform/WebSize.h" 55 #include "WebSpeechInputControllerMock.h" 55 56 #include "platform/WebString.h" 56 57 #include "platform/WebURLRequest.h" -
trunk/Tools/DumpRenderTree/chromium/WebViewHost.cpp
r106219 r106223 33 33 34 34 #include "LayoutTestController.h" 35 #include "MockWebSpeechInputController.h"36 35 #include "TestNavigationController.h" 37 36 #include "TestShell.h" … … 57 56 #include "WebScreenInfo.h" 58 57 #include "platform/WebSize.h" 58 #include "WebSpeechInputControllerMock.h" 59 59 #include "WebStorageNamespace.h" 60 60 #include "WebTextCheckingCompletion.h" … … 679 679 { 680 680 if (!m_speechInputControllerMock) 681 m_speechInputControllerMock = MockWebSpeechInputController::create(listener);681 m_speechInputControllerMock = adoptPtr(WebSpeechInputControllerMock::create(listener)); 682 682 return m_speechInputControllerMock.get(); 683 683 } -
trunk/Tools/DumpRenderTree/chromium/WebViewHost.h
r106219 r106223 46 46 47 47 class LayoutTestController; 48 class MockWebSpeechInputController;49 48 class SkCanvas; 50 49 class TestShell; … … 59 58 class WebSharedWorkerClient; 60 59 class WebSpeechInputController; 60 class WebSpeechInputControllerMock; 61 61 class WebSpeechInputListener; 62 62 class WebURL; … … 109 109 void clearContextMenuData(); 110 110 111 MockWebSpeechInputController* speechInputControllerMock() { return m_speechInputControllerMock.get(); }111 WebKit::WebSpeechInputControllerMock* speechInputControllerMock() { return m_speechInputControllerMock.get(); } 112 112 113 113 #if ENABLE(POINTER_LOCK) … … 383 383 384 384 OwnPtr<WebKit::WebDeviceOrientationClientMock> m_deviceOrientationClientMock; 385 OwnPtr< MockWebSpeechInputController> m_speechInputControllerMock;385 OwnPtr<WebKit::WebSpeechInputControllerMock> m_speechInputControllerMock; 386 386 387 387 OwnPtr<WebKit::WebUserMediaClientMock> m_userMediaClientMock;
Note: See TracChangeset
for help on using the changeset viewer.