Changeset 70302 in webkit
- Timestamp:
- Oct 22, 2010 6:13:24 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r70301 r70302 1 2010-10-22 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r70301. 4 http://trac.webkit.org/changeset/70301 5 https://bugs.webkit.org/show_bug.cgi?id=48126 6 7 "Lang attribute layout tests failing" (Requested by satish on 8 #webkit). 9 10 * fast/speech/input-text-language-tag-expected.txt: Removed. 11 * fast/speech/input-text-language-tag.html: Removed. 12 * fast/speech/input-text-speechbutton.html: 13 * fast/speech/speech-button-ignore-generated-events.html: 14 * platform/chromium/test_expectations.txt: 15 1 16 2010-10-22 Leandro Gracia Gil <leandrogracia@google.com> 2 17 -
trunk/LayoutTests/fast/speech/input-text-speechbutton.html
r70301 r70302 33 33 function run() { 34 34 if (window.layoutTestController && window.eventSender) { 35 layoutTestController.setMockSpeechInputResult('Pictures of the moon' , '');35 layoutTestController.setMockSpeechInputResult('Pictures of the moon'); 36 36 37 37 // Clicking the speech button should fill in mock speech-recognized text. -
trunk/LayoutTests/fast/speech/speech-button-ignore-generated-events.html
r70301 r70302 50 50 if (window.layoutTestController && window.eventSender) { 51 51 // Running in DRT, test the eventSender case. 52 layoutTestController.setMockSpeechInputResult('Pictures of the moon' , '');52 layoutTestController.setMockSpeechInputResult('Pictures of the moon'); 53 53 document.getElementById('speechInput').onwebkitspeechchange = function() { 54 54 shouldBeEqualToString('document.getElementById("speechInput").value', 'Pictures of the moon'); -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r70301 r70302 3249 3249 // Added in WebKit r70190 3250 3250 BUGWK48034 : plugins/pass-different-npp-struct.html = TEXT 3251 3252 3251 // Added in WebKit r70265 3253 3252 BUGWK48034 : platform/win/plugins/npn-invalidate-rect-invalidates-window.html = TEXT 3254 3255 // Temporarily disabled for a 4-sided patch. Will be enabled again by BUGWK47420.3256 BUGWK47089 : fast/speech/input-text-language-tag.html = FAIL -
trunk/WebCore/ChangeLog
r70301 r70302 1 2010-10-22 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r70301. 4 http://trac.webkit.org/changeset/70301 5 https://bugs.webkit.org/show_bug.cgi?id=48126 6 7 "Lang attribute layout tests failing" (Requested by satish on 8 #webkit). 9 10 * dom/Element.cpp: 11 (WebCore::Element::computeInheritedLanguage): 12 * page/SpeechInput.cpp: 13 (WebCore::SpeechInput::startRecognition): 14 * page/SpeechInput.h: 15 * page/SpeechInputClient.h: 16 * platform/mock/SpeechInputClientMock.cpp: 17 (WebCore::SpeechInputClientMock::startRecognition): 18 (WebCore::SpeechInputClientMock::setRecognitionResult): 19 (WebCore::SpeechInputClientMock::timerFired): 20 * platform/mock/SpeechInputClientMock.h: 21 * rendering/TextControlInnerElements.cpp: 22 (WebCore::TextControlInnerElement::attachInnerElement): 23 (WebCore::SearchFieldCancelButtonElement::detach): 24 (WebCore::SpinButtonElement::defaultEventHandler): 25 (WebCore::InputFieldSpeechButtonElement::defaultEventHandler): 26 (WebCore::InputFieldSpeechButtonElement::detach): 27 1 28 2010-10-22 Leandro Gracia Gil <leandrogracia@google.com> 2 29 -
trunk/WebCore/dom/Element.cpp
r70301 r70302 57 57 #include "TextIterator.h" 58 58 #include "XMLNames.h" 59 #include <wtf/ASCIICType.h>60 59 #include <wtf/text/CString.h> 61 60 … … 1476 1475 } 1477 1476 1478 if (!value.isNull() && !value.isEmpty()) {1479 // Only A-Za-z0-9 and '-' are allowed in the language tag (see BCP 47)1480 const char *p = value.string().ascii().data();1481 for (; *p != '\0'; ++p) {1482 if (!isASCIIAlphanumeric(*p) && *p != '-')1483 return AtomicString();1484 }1485 }1486 1487 1477 return value; 1488 1478 } -
trunk/WebCore/page/SpeechInput.cpp
r70301 r70302 94 94 } 95 95 96 bool SpeechInput::startRecognition(int listenerId, const String& language, constIntRect& elementRect)96 bool SpeechInput::startRecognition(int listenerId, const IntRect& elementRect) 97 97 { 98 98 ASSERT(m_listeners.contains(listenerId)); 99 return m_client->startRecognition(listenerId, language,elementRect);99 return m_client->startRecognition(listenerId, elementRect); 100 100 } 101 101 -
trunk/WebCore/page/SpeechInput.h
r70301 r70302 62 62 63 63 // Methods invoked by the input elements. 64 bool startRecognition(int, const String&, constIntRect&);64 bool startRecognition(int, const IntRect&); 65 65 void stopRecording(int); 66 66 void cancelRecognition(int); -
trunk/WebCore/page/SpeechInputClient.h
r70301 r70302 32 32 #define SpeechInputClient_h 33 33 34 #include <wtf/Forward.h>35 36 34 #if ENABLE(INPUT_SPEECH) 37 35 … … 51 49 52 50 // Starts speech recognition and audio recording. 53 virtual bool startRecognition(int requestId, const String& language, constIntRect& elementRect) = 0;51 virtual bool startRecognition(int requestId, const IntRect& elementRect) = 0; 54 52 55 53 // Stops audio recording and performs recognition with the audio recorded until now -
trunk/WebCore/platform/mock/SpeechInputClientMock.cpp
r70301 r70302 36 36 #include "SpeechInputListener.h" 37 37 38 namespace {39 // HashMap doesn't support empty strings as keys, so this value (an invalid BCP47 tag) is used for those cases.40 const String emptyLanguage = "_";41 }42 43 38 namespace WebCore { 44 39 … … 56 51 } 57 52 58 bool SpeechInputClientMock::startRecognition(int requestId, const String& language, constIntRect&)53 bool SpeechInputClientMock::startRecognition(int requestId, const IntRect&) 59 54 { 60 55 if (m_timer.isActive()) … … 62 57 m_requestId = requestId; 63 58 m_recording = true; 64 m_language = language;65 59 m_timer.startOneShot(0); 66 60 return true; … … 87 81 } 88 82 89 void SpeechInputClientMock::setRecognitionResult(const String& result , const String& language)83 void SpeechInputClientMock::setRecognitionResult(const String& result) 90 84 { 91 if (language.isEmpty()) 92 m_recognitionResult.set(emptyLanguage, result); 93 else 94 m_recognitionResult.set(language, result); 85 m_recognitionResult = result; 95 86 } 96 87 … … 102 93 m_timer.startOneShot(0); 103 94 } else { 104 String language = m_language.isEmpty() ? String(emptyLanguage) : m_language; 105 if (!m_recognitionResult.contains(language)) { 106 // Can't avoid setting a result on empty or invalid language strings. 107 // This would avoid generating the events used to check the results and the test would timeout. 108 String error("error: no result found for language '"); 109 error.append(m_language); 110 error.append("'"); 111 m_listener->setRecognitionResult(m_requestId, error); 112 } else 113 m_listener->setRecognitionResult(m_requestId, m_recognitionResult.get(language)); 114 95 m_listener->setRecognitionResult(m_requestId, m_recognitionResult); 115 96 m_listener->didCompleteRecognition(m_requestId); 116 97 m_requestId = 0; -
trunk/WebCore/platform/mock/SpeechInputClientMock.h
r70301 r70302 35 35 #include "SpeechInputClient.h" 36 36 #include "Timer.h" 37 #include <wtf/HashMap.h>38 #include <wtf/text/StringHash.h>39 37 40 38 #if ENABLE(INPUT_SPEECH) … … 49 47 SpeechInputClientMock(); 50 48 51 void setRecognitionResult(const String& result , const String& language);49 void setRecognitionResult(const String& result); 52 50 53 51 // SpeechInputClient methods. 54 52 void setListener(SpeechInputListener*); 55 bool startRecognition(int, const String&, constIntRect&);53 bool startRecognition(int, const IntRect&); 56 54 void stopRecording(int); 57 55 void cancelRecognition(int); … … 64 62 SpeechInputListener* m_listener; 65 63 int m_requestId; 66 67 HashMap<String, String> m_recognitionResult; 68 String m_language; 64 String m_recognitionResult; 69 65 }; 70 66 -
trunk/WebCore/rendering/TextControlInnerElements.cpp
r70301 r70302 22 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 25 */ 26 26 27 27 #include "config.h" 28 28 #include "TextControlInnerElements.h" … … 108 108 renderer->setStyle(style); 109 109 } 110 110 111 111 // Set these explicitly since this normally happens during an attach() 112 112 setAttached(); 113 113 setInDocument(); 114 114 115 115 // For elements without a shadow parent, add the node to the DOM normally. 116 116 if (!m_shadowParent) { … … 119 119 parent->deprecatedParserAddChild(this); 120 120 } 121 121 122 122 // Add the renderer to the render tree 123 123 if (renderer) … … 209 209 if (m_capturing) { 210 210 if (Frame* frame = document()->frame()) 211 frame->eventHandler()->setCapturingMouseEventsNode(0); 211 frame->eventHandler()->setCapturingMouseEventsNode(0); 212 212 } 213 213 TextControlInnerElement::detach(); … … 282 282 if (!event->defaultHandled()) 283 283 HTMLDivElement::defaultEventHandler(event); 284 return; 285 } 286 284 return; 285 } 286 287 287 HTMLInputElement* input = static_cast<HTMLInputElement*>(shadowAncestorNode()); 288 288 if (input->disabled() || input->isReadOnlyFormControl()) { … … 432 432 switch (m_state) { 433 433 case Idle: 434 if (speechInput()->startRecognition(m_listenerId, input-> computeInheritedLanguage(), input->renderer()->absoluteBoundingBoxRect()))434 if (speechInput()->startRecognition(m_listenerId, input->renderer()->absoluteBoundingBoxRect())) 435 435 setState(Recording); 436 436 break; … … 488 488 if (m_capturing) { 489 489 if (Frame* frame = document()->frame()) 490 frame->eventHandler()->setCapturingMouseEventsNode(0); 490 frame->eventHandler()->setCapturingMouseEventsNode(0); 491 491 } 492 492 -
trunk/WebKit/chromium/ChangeLog
r70301 r70302 1 2010-10-22 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r70301. 4 http://trac.webkit.org/changeset/70301 5 https://bugs.webkit.org/show_bug.cgi?id=48126 6 7 "Lang attribute layout tests failing" (Requested by satish on 8 #webkit). 9 10 * public/WebSpeechInputController.h: 11 (WebKit::WebSpeechInputController::startRecognition): 12 * public/WebSpeechInputControllerMock.h: 13 * src/SpeechInputClientImpl.cpp: 14 (WebKit::SpeechInputClientImpl::startRecognition): 15 * src/SpeechInputClientImpl.h: 16 * src/WebSpeechInputControllerMockImpl.cpp: 17 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): 18 (WebKit::WebSpeechInputControllerMockImpl::startRecognition): 19 * src/WebSpeechInputControllerMockImpl.h: 20 * src/WebViewImpl.cpp: 21 (WebKit::WebViewImpl::WebViewImpl): 22 * src/WebViewImpl.h: 23 1 24 2010-10-22 Leandro Gracia Gil <leandrogracia@google.com> 2 25 -
trunk/WebKit/chromium/public/WebSpeechInputController.h
r70301 r70302 36 36 namespace WebKit { 37 37 38 class WebString;39 38 struct WebRect; 40 39 … … 45 44 // runs to the limit or stopRecording is called. Progress indications and the recognized 46 45 // text are returned via the listener interface. 47 virtual bool startRecognition(int requestId, const Web String& language, const WebRect& elementRect)46 virtual bool startRecognition(int requestId, const WebRect&) 48 47 { 49 48 WEBKIT_ASSERT_NOT_REACHED(); -
trunk/WebKit/chromium/public/WebSpeechInputControllerMock.h
r70301 r70302 45 45 virtual ~WebSpeechInputControllerMock() { } 46 46 47 virtual void setMockRecognitionResult(const WebString& result, const WebString& language) = 0;48 49 // FIXME: this is a fix for a two-sided patch. Delete as soon as the chromium side is patched.50 // Chromium patch not uploaded yet, but will depend on http://codereview.chromium.org/3615005/show patch.51 47 virtual void setMockRecognitionResult(const WebString& result) = 0; 52 48 }; -
trunk/WebKit/chromium/src/SpeechInputClientImpl.cpp
r70301 r70302 33 33 34 34 #include "PlatformString.h" 35 #include "SpeechInputListener.h"36 35 #include "WebSpeechInputController.h" 37 36 #include "WebString.h" 38 37 #include "WebViewClient.h" 39 #include <wtf/PassOwnPtr.h>38 #include "page/SpeechInputListener.h" 40 39 41 40 #if ENABLE(INPUT_SPEECH) 42 41 43 42 namespace WebKit { 44 45 PassOwnPtr<SpeechInputClientImpl> SpeechInputClientImpl::create(WebViewClient* client)46 {47 return adoptPtr(new SpeechInputClientImpl(client));48 }49 43 50 44 SpeechInputClientImpl::SpeechInputClientImpl(WebViewClient* web_view_client) … … 63 57 } 64 58 65 bool SpeechInputClientImpl::startRecognition(int requestId, const String& language, constWebCore::IntRect& elementRect)59 bool SpeechInputClientImpl::startRecognition(int requestId, const WebCore::IntRect& elementRect) 66 60 { 67 61 ASSERT(m_listener); 68 return m_controller->startRecognition(requestId, language,elementRect);62 return m_controller->startRecognition(requestId, elementRect); 69 63 } 70 64 -
trunk/WebKit/chromium/src/SpeechInputClientImpl.h
r70301 r70302 34 34 #if ENABLE(INPUT_SPEECH) 35 35 36 #include "SpeechInputClient.h"37 36 #include "WebSpeechInputListener.h" 38 #include <wtf/Forward.h> 39 #include <wtf/OwnPtr.h> 40 #include <wtf/PassOwnPtr.h> 41 42 namespace WTF { 43 class String; 44 } 37 #include "page/SpeechInputClient.h" 45 38 46 39 namespace WebCore { … … 57 50 public WebSpeechInputListener { 58 51 public: 59 static PassOwnPtr<SpeechInputClientImpl> create(WebViewClient*);52 SpeechInputClientImpl(WebViewClient*); 60 53 virtual ~SpeechInputClientImpl(); 61 54 62 55 // SpeechInputClient methods. 63 56 void setListener(WebCore::SpeechInputListener*); 64 bool startRecognition(int, const String&, constWebCore::IntRect&);57 bool startRecognition(int, const WebCore::IntRect&); 65 58 void stopRecording(int); 66 59 void cancelRecognition(int); … … 72 65 73 66 private: 74 SpeechInputClientImpl(WebViewClient*);75 76 67 WebSpeechInputController* m_controller; // To call into the embedder. 77 68 WebCore::SpeechInputListener* m_listener; -
trunk/WebKit/chromium/src/WebSpeechInputControllerMockImpl.cpp
r70301 r70302 58 58 void WebSpeechInputControllerMockImpl::setMockRecognitionResult(const WebString& result) 59 59 { 60 m_webcoreMock->setRecognitionResult(result, WebString::fromUTF8("")); 61 } 62 63 void WebSpeechInputControllerMockImpl::setMockRecognitionResult(const WebString& result, const WebString &language) 64 { 65 m_webcoreMock->setRecognitionResult(result, language); 60 m_webcoreMock->setRecognitionResult(result); 66 61 } 67 62 … … 81 76 } 82 77 83 bool WebSpeechInputControllerMockImpl::startRecognition(int requestId, const Web String& language, const WebRect& elementRect)78 bool WebSpeechInputControllerMockImpl::startRecognition(int requestId, const WebRect& elementRect) 84 79 { 85 return m_webcoreMock->startRecognition(requestId, language,elementRect);80 return m_webcoreMock->startRecognition(requestId, elementRect); 86 81 } 87 82 -
trunk/WebKit/chromium/src/WebSpeechInputControllerMockImpl.h
r70301 r70302 38 38 #include <wtf/OwnPtr.h> 39 39 40 namespace WTF {41 class String;42 }43 44 40 namespace WebCore { 45 41 class SpeechInputClientMock; … … 62 58 63 59 // WebSpeechInputController methods. 64 bool startRecognition(int requestId, const Web String& language, const WebRect& elementRect);60 bool startRecognition(int requestId, const WebRect& elementRect); 65 61 void cancelRecognition(int requestId); 66 62 void stopRecording(int requestId); 67 63 68 64 // WebSpeechInputControllerMock methods. 69 void setMockRecognitionResult(const WebString& result, const WebString& language);70 71 // FIXME: this is a fix for a two-sided patch. Delete as soon as the chromium side is patched.72 // Chromium patch not uploaded yet, but will depend on http://codereview.chromium.org/3615005/show patch.73 65 void setMockRecognitionResult(const WebString& result); 74 66 … … 81 73 82 74 #endif // WebSpeechInputControllerMockImpl_h 75 -
trunk/WebKit/chromium/src/WebViewImpl.cpp
r70301 r70302 89 89 #include "SelectionController.h" 90 90 #include "Settings.h" 91 #include "SpeechInputClientImpl.h"92 91 #include "Timer.h" 93 92 #include "TypingCommand.h" … … 284 283 #endif 285 284 #if ENABLE(INPUT_SPEECH) 286 , m_speechInputClient( SpeechInputClientImpl::create(client))285 , m_speechInputClient(client) 287 286 #endif 288 287 , m_deviceOrientationClientProxy(new DeviceOrientationClientProxy(client ? client->deviceOrientationClient() : 0)) … … 307 306 pageClients.inspectorClient = &m_inspectorClientImpl; 308 307 #if ENABLE(INPUT_SPEECH) 309 pageClients.speechInputClient = m_speechInputClient.get();308 pageClients.speechInputClient = &m_speechInputClient; 310 309 #endif 311 310 pageClients.deviceOrientationClient = m_deviceOrientationClientProxy.get(); -
trunk/WebKit/chromium/src/WebViewImpl.h
r70301 r70302 50 50 #include "LayerRendererChromium.h" 51 51 #include "NotificationPresenterImpl.h" 52 #include "SpeechInputClientImpl.h" 52 53 #include <wtf/OwnPtr.h> 53 54 #include <wtf/RefCounted.h> … … 74 75 class DeviceOrientationClientProxy; 75 76 class DragScrollTimer; 76 class SpeechInputClientImpl;77 77 class WebAccessibilityObject; 78 78 class WebDevToolsAgentClient; … … 548 548 549 549 #if ENABLE(INPUT_SPEECH) 550 OwnPtr<SpeechInputClientImpl>m_speechInputClient;550 SpeechInputClientImpl m_speechInputClient; 551 551 #endif 552 552 // If we attempt to fetch the on-screen GraphicsContext3D before -
trunk/WebKitTools/ChangeLog
r70301 r70302 1 2010-10-22 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r70301. 4 http://trac.webkit.org/changeset/70301 5 https://bugs.webkit.org/show_bug.cgi?id=48126 6 7 "Lang attribute layout tests failing" (Requested by satish on 8 #webkit). 9 10 * DumpRenderTree/LayoutTestController.cpp: 11 (setMockSpeechInputResultCallback): 12 * DumpRenderTree/LayoutTestController.h: 13 * DumpRenderTree/chromium/LayoutTestController.cpp: 14 (LayoutTestController::setMockSpeechInputResult): 15 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 16 (LayoutTestController::setMockSpeechInputResult): 17 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 18 (LayoutTestController::setMockSpeechInputResult): 19 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 20 (LayoutTestController::setMockSpeechInputResult): 21 * DumpRenderTree/qt/LayoutTestControllerQt.h: 22 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 23 (LayoutTestController::setMockSpeechInputResult): 24 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 25 (LayoutTestController::setMockSpeechInputResult): 26 1 27 2010-10-22 Leandro Gracia Gil <leandrogracia@google.com> 2 28 -
trunk/WebKitTools/DumpRenderTree/LayoutTestController.cpp
r70301 r70302 1071 1071 static JSValueRef setMockSpeechInputResultCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 1072 1072 { 1073 if (argumentCount < 2)1073 if (argumentCount < 1) 1074 1074 return JSValueMakeUndefined(context); 1075 1075 … … 1077 1077 ASSERT(!*exception); 1078 1078 1079 JSRetainPtr<JSStringRef> language(Adopt, JSValueToStringCopy(context, arguments[1], exception)); 1080 ASSERT(!*exception); 1081 1082 LayoutTestController* controller = static_cast<LayoutTestController*>(JSObjectGetPrivate(thisObject)); 1083 controller->setMockSpeechInputResult(result.get(), language.get()); 1079 LayoutTestController* controller = static_cast<LayoutTestController*>(JSObjectGetPrivate(thisObject)); 1080 controller->setMockSpeechInputResult(result.get()); 1084 1081 1085 1082 return JSValueMakeUndefined(context); -
trunk/WebKitTools/DumpRenderTree/LayoutTestController.h
r70301 r70302 95 95 void setMockGeolocationError(int code, JSStringRef message); 96 96 void setMockGeolocationPosition(double latitude, double longitude, double accuracy); 97 void setMockSpeechInputResult(JSStringRef result , JSStringRef language);97 void setMockSpeechInputResult(JSStringRef result); 98 98 void setPersistentUserStyleSheetLocation(JSStringRef path); 99 99 void setPluginsEnabled(bool flag); -
trunk/WebKitTools/DumpRenderTree/chromium/LayoutTestController.cpp
r70301 r70302 1527 1527 { 1528 1528 result->setNull(); 1529 if (arguments.size() < 2 || !arguments[0].isString() || !arguments[1].isString())1530 return; 1531 1532 m_speechInputControllerMock->setMockRecognitionResult(cppVariantToWebString(arguments[0]) , cppVariantToWebString(arguments[1]));1529 if (arguments.size() < 1 || !arguments[0].isString()) 1530 return; 1531 1532 m_speechInputControllerMock->setMockRecognitionResult(cppVariantToWebString(arguments[0])); 1533 1533 } 1534 1534 -
trunk/WebKitTools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp
r70301 r70302 501 501 } 502 502 503 void LayoutTestController::setMockSpeechInputResult(JSStringRef result , JSStringRef language)503 void LayoutTestController::setMockSpeechInputResult(JSStringRef result) 504 504 { 505 505 // FIXME: Implement for speech input layout tests. -
trunk/WebKitTools/DumpRenderTree/mac/LayoutTestControllerMac.mm
r70301 r70302 372 372 } 373 373 374 void LayoutTestController::setMockSpeechInputResult(JSStringRef result , JSStringRef language)374 void LayoutTestController::setMockSpeechInputResult(JSStringRef result) 375 375 { 376 376 // FIXME: Implement for speech input layout tests. -
trunk/WebKitTools/DumpRenderTree/qt/LayoutTestControllerQt.cpp
r70301 r70302 760 760 } 761 761 762 void LayoutTestController::setMockSpeechInputResult(const QString& result , const QString& language)762 void LayoutTestController::setMockSpeechInputResult(const QString& result) 763 763 { 764 764 // FIXME: Implement for speech input layout tests. -
trunk/WebKitTools/DumpRenderTree/qt/LayoutTestControllerQt.h
r70301 r70302 216 216 bool geolocationPermission() const { return m_geolocationPermission; } 217 217 218 void setMockSpeechInputResult(const QString& result , const QString& language);218 void setMockSpeechInputResult(const QString& result); 219 219 220 220 // Empty stub method to keep parity with object model exposed by global LayoutTestController. -
trunk/WebKitTools/DumpRenderTree/win/LayoutTestControllerWin.cpp
r70301 r70302 406 406 } 407 407 408 void LayoutTestController::setMockSpeechInputResult(JSStringRef result , JSStringRef language)408 void LayoutTestController::setMockSpeechInputResult(JSStringRef result) 409 409 { 410 410 // FIXME: Implement for speech input layout tests. -
trunk/WebKitTools/DumpRenderTree/wx/LayoutTestControllerWx.cpp
r70301 r70302 321 321 } 322 322 323 void LayoutTestController::setMockSpeechInputResult(JSStringRef result , JSStringRef language)323 void LayoutTestController::setMockSpeechInputResult(JSStringRef result) 324 324 { 325 325 // FIXME: Implement for speech input layout tests. … … 529 529 return 0; 530 530 } 531
Note: See TracChangeset
for help on using the changeset viewer.