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

Unified Diff: chrome/renderer/render_view.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 | « chrome/renderer/print_web_view_helper.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.h
===================================================================
--- chrome/renderer/render_view.h (revision 26935)
+++ chrome/renderer/render_view.h (working copy)
@@ -212,12 +212,6 @@
const WebKit::WebRect& selection);
virtual bool WasOpenedByUserGesture() const;
virtual void FocusAccessibilityObject(WebCore::AccessibilityObject* acc_obj);
- virtual void SpellCheck(const std::wstring& word,
- int* misspell_location,
- int* misspell_length);
- virtual std::wstring GetAutoCorrectWord(const std::wstring& word);
- virtual void UpdateSpellingUIWithMisspelledWord(const std::wstring& word);
- virtual void ShowSpellingUI(bool show);
virtual void UserMetricsRecordAction(const std::wstring& action);
virtual void DnsPrefetch(const std::vector<std::string>& host_names);
virtual bool HandleCurrentKeyboardEvent();
@@ -255,6 +249,12 @@
virtual void didChangeContents() {}
virtual void didExecuteCommand(const WebKit::WebString& command_name);
virtual void didEndEditing() {}
+ virtual void spellCheck(
+ const WebKit::WebString& text, int& offset, int& length);
+ virtual WebKit::WebString autoCorrectWord(
+ const WebKit::WebString& misspelled_word);
+ virtual void updateSpellingUIWithMisspelledWord(
+ const WebKit::WebString& word);
virtual void runModalAlertDialog(
WebKit::WebFrame* frame, const WebKit::WebString& message);
virtual bool runModalConfirmDialog(
« no previous file with comments | « chrome/renderer/print_web_view_helper.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698