summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.h
diff options
context:
space:
mode:
authorsail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 00:29:49 +0000
committersail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 00:29:49 +0000
commitcb66b78a355f55f94eb122c328a531826a65b8f7 (patch)
tree0663f595a6aa0f8d25280aac3c814bb246e7dd3d /chrome/renderer/render_view.h
parent21cea6c0f49893d48f4299f0aa8910c1d3130914 (diff)
downloadchromium_src-cb66b78a355f55f94eb122c328a531826a65b8f7.zip
chromium_src-cb66b78a355f55f94eb122c328a531826a65b8f7.tar.gz
chromium_src-cb66b78a355f55f94eb122c328a531826a65b8f7.tar.bz2
Revert 72570 - Mac: Enable "Check Spelling While Typing" in Edit menu
Currently the "Edit -> Spelling and Grammar -> Check Spelling While Typing" menu item is always disabled. The problem is that the logic to enable / disable this item lives in the render process and not in the UI. This patch implements a generic message that the render process can send to the browser to update the state of view commands. This is used to enable and disable the "Check Spelling While Typing" menu item. BUG=38440 TEST=Clicked in an edit box and verified that the "Check Spelling While Typing" menu item was enabled. Verified that changing the value from the context menu correctly updates the Edit menu as well. TBR=sail@chromium.org Review URL: http://codereview.chromium.org/6326011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72571 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r--chrome/renderer/render_view.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index 4110aba..92a3577 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -434,7 +434,6 @@ class RenderView : public RenderWidget,
virtual bool isShowingSpellingUI();
virtual void updateSpellingUIWithMisspelledWord(
const WebKit::WebString& word);
- virtual void continuousSpellCheckingEnabledStateChanged();
virtual bool runFileChooser(
const WebKit::WebFileChooserParams& params,
WebKit::WebFileChooserCompletion* chooser_completion);
@@ -1060,9 +1059,6 @@ class RenderView : public RenderWidget,
// 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();
@@ -1126,9 +1122,6 @@ class RenderView : public RenderWidget,
// 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);