Changeset 65815 in webkit
- Timestamp:
- Aug 23, 2010 9:37:01 AM (14 years ago)
- Location:
- trunk/WebKit/chromium
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/chromium/ChangeLog
r65787 r65815 1 2010-08-23 Satish Sampath <satish@chromium.org> 2 3 Reviewed by Jeremy Orlow. 4 5 Remove obsolete public/API methods in chromium port 6 https://bugs.webkit.org/show_bug.cgi?id=44421 7 8 * public/WebSpeechInputController.h: 9 (WebKit::WebSpeechInputController::startRecognition): 10 (WebKit::WebSpeechInputController::cancelRecognition): 11 (WebKit::WebSpeechInputController::stopRecording): 12 * public/WebSpeechInputListener.h: 13 1 14 2010-08-22 Daniel Bates <dbates@rim.com> 2 15 -
trunk/WebKit/chromium/public/WebSpeechInputController.h
r65327 r65815 44 44 virtual bool startRecognition(int) 45 45 { 46 return startRecognition();47 }48 // FIXME: Remove this once chromium has picked up this change.49 virtual bool startRecognition()50 {51 46 WEBKIT_ASSERT_NOT_REACHED(); 52 47 return false; … … 55 50 // Cancels an ongoing recognition and discards any audio recorded so far. No partial 56 51 // recognition results are returned to the listener. 57 virtual void cancelRecognition(int) { cancelRecognition(); } 58 // FIXME: Remove this once chromium has picked up this change. 59 virtual void cancelRecognition() { WEBKIT_ASSERT_NOT_REACHED(); } 52 virtual void cancelRecognition(int) { WEBKIT_ASSERT_NOT_REACHED(); } 60 53 61 54 // Stops audio recording and performs recognition with the audio recorded until now … … 64 57 // recording 'endpointer' should detect silence in the input and stop recording automatically. 65 58 // Call startRecognition() to record audio and recognize speech again. 66 virtual void stopRecording(int) { stopRecording(); } 67 // FIXME: Remove this once chromium has picked up this change. 68 virtual void stopRecording() { WEBKIT_ASSERT_NOT_REACHED(); } 59 virtual void stopRecording(int) { WEBKIT_ASSERT_NOT_REACHED(); } 69 60 70 61 protected: -
trunk/WebKit/chromium/public/WebSpeechInputListener.h
r65327 r65815 49 49 // in progress. 50 50 virtual void didCompleteRecording(int) = 0; 51 // FIXME: Remove this once chromium has picked up this change.52 virtual void didCompleteRecording()53 {54 didCompleteRecording(1);55 }56 51 57 52 // Gives results from speech recognition, either partial or the final results. … … 60 55 // or if there was any other errors in the process, this method may never be called. 61 56 virtual void setRecognitionResult(int, const WebString&) = 0; 62 // FIXME: Remove this once chromium has picked up this change.63 virtual void setRecognitionResult(const WebString& result)64 {65 setRecognitionResult(1, result);66 }67 57 68 58 // Informs that speech recognition has completed. This gets invoked irrespective of whether … … 71 61 // recognition request. 72 62 virtual void didCompleteRecognition(int) = 0; 73 // FIXME: Remove this once chromium has picked up this change.74 virtual void didCompleteRecognition()75 {76 didCompleteRecognition(1);77 }78 63 79 64 protected:
Note: See TracChangeset
for help on using the changeset viewer.