Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(697)

Unified Diff: webkit/glue/webview_delegate.h

Issue 227006: Move some more methods from WebViewDelegate to WebViewClient.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/editor_client_impl.cc ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview_delegate.h
===================================================================
--- webkit/glue/webview_delegate.h (revision 26935)
+++ webkit/glue/webview_delegate.h (working copy)
@@ -195,9 +195,6 @@
const std::string& frame_charset) {
}
- // Notification that a user metric has occurred.
- virtual void UserMetricsRecordAction(const std::wstring& action) { }
-
// -------------------------------------------------------------------------
// Notification that a request to download an image has completed. |errored|
@@ -225,32 +222,6 @@
// Editor Client -----------------------------------------------------------
- // Returns true if the word is spelled correctly. The word may begin or end
- // with whitespace or punctuation, so the implementor should be sure to handle
- // these cases.
- //
- // If the word is misspelled (returns false), the given first and last
- // indices (inclusive) will be filled with the offsets of the boundary of the
- // word within the given buffer. The out pointers must be specified. If the
- // word is correctly spelled (returns true), they will be set to (0,0).
- virtual void SpellCheck(const std::wstring& word,
- int* misspell_location,
- int* misspell_length) {
- *misspell_location = *misspell_length = 0;
- }
-
- // Computes an auto correct word for a misspelled word. If no word is found,
- // empty string is computed.
- virtual std::wstring GetAutoCorrectWord(const std::wstring& misspelled_word) {
- return std::wstring();
- }
-
- // Switches the spelling panel to be displayed or not based on |show|.
- virtual void ShowSpellingUI(bool show) { }
-
- // Update the spelling panel with the |word|.
- virtual void UpdateSpellingUIWithMisspelledWord(const std::wstring& word) { }
-
// The "CurrentKeyboardEvent" refers to the keyboard event passed to
// WebView's handleInputEvent method.
//
« no previous file with comments | « webkit/glue/editor_client_impl.cc ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698