Index: chrome/renderer/render_view.h |
=================================================================== |
--- chrome/renderer/render_view.h (revision 71193) |
+++ chrome/renderer/render_view.h (working copy) |
@@ -470,6 +470,7 @@ |
virtual bool isShowingSpellingUI(); |
virtual void updateSpellingUIWithMisspelledWord( |
const WebKit::WebString& word); |
+ virtual void continuousSpellCheckingEnabledStateChanged(); |
virtual bool runFileChooser( |
const WebKit::WebFileChooserParams& params, |
WebKit::WebFileChooserCompletion* chooser_completion); |
@@ -1099,6 +1100,9 @@ |
// Locates a sub frame with given xpath |
WebKit::WebFrame* GetChildFrame(const std::wstring& frame_xpath) const; |
+ // Gets the focused node. If no such node exists then the node will be isNull. |
+ WebKit::WebNode GetFocusedNode() const; |
+ |
DOMUIBindings* GetDOMUIBindings(); |
ExternalHostBindings* GetExternalHostBindings(); |
@@ -1155,6 +1159,9 @@ |
// If |url| is empty, show |fallback_url|. |
void UpdateTargetURL(const GURL& url, const GURL& fallback_url); |
+ // Updates the state of the toggle spell check command in the browser process. |
+ void UpdateToggleSpellCheckCommandState(); |
+ |
// Helper to add an error message to the root frame's console. |
void AddErrorToRootConsole(const string16& message); |