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

Unified Diff: chrome/renderer/render_view.h

Issue 246079: More WebView / WebViewDelegate cleanup. (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.h ('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 27906)
+++ chrome/renderer/render_view.h (working copy)
@@ -192,13 +192,7 @@
int edit_flags,
const std::string& security_info,
const std::string& frame_charset);
- virtual void UpdateInspectorSettings(const std::wstring& raw_settings);
virtual WebDevToolsAgentDelegate* GetWebDevToolsAgentDelegate();
- virtual void ReportFindInPageMatchCount(int count, int request_id,
- bool final_update);
- virtual void ReportFindInPageSelection(int request_id,
- int active_match_ordinal,
- const WebKit::WebRect& selection);
virtual bool WasOpenedByUserGesture() const;
virtual void FocusAccessibilityObject(WebCore::AccessibilityObject* acc_obj);
virtual void UserMetricsRecordAction(const std::wstring& action);
@@ -246,6 +240,7 @@
virtual WebKit::WebString autoCorrectWord(
const WebKit::WebString& misspelled_word);
virtual void showSpellingUI(bool show);
+ virtual bool isShowingSpellingUI();
virtual void updateSpellingUIWithMisspelledWord(
const WebKit::WebString& word);
virtual void runModalAlertDialog(
@@ -271,6 +266,7 @@
virtual int historyBackListCount();
virtual int historyForwardListCount();
virtual void didAddHistoryItem();
+ virtual void didUpdateInspectorSettings();
// WebKit::WebWidgetClient
// Most methods are handled by RenderWidget.
@@ -349,6 +345,10 @@
virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame);
virtual void didChangeContentsSize(
WebKit::WebFrame* frame, const WebKit::WebSize& size);
+ virtual void reportFindInPageMatchCount(
+ int request_id, int count, bool final_update);
+ virtual void reportFindInPageSelection(
+ int request_id, int active_match_ordinal, const WebKit::WebRect& sel);
// webkit_glue::WebPluginPageDelegate
virtual webkit_glue::WebPluginDelegate* CreatePluginDelegate(
@@ -878,6 +878,9 @@
// from the Browser process telling us otherwise.
bool popup_notification_visible_;
+ // True if the browser is showing the spelling panel for us.
+ bool spelling_panel_visible_;
+
// Time in seconds of the delay between syncing page state such as form
// elements and scroll position. This timeout allows us to avoid spamming the
// browser process with every little thing that changes. This normally doesn't
« no previous file with comments | « chrome/renderer/print_web_view_helper.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698