summaryrefslogtreecommitdiffstats
path: root/chrome/browser/render_view_context_menu.h
diff options
context:
space:
mode:
authorsidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 20:02:04 +0000
committersidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 20:02:04 +0000
commit63271da3b3740aadd3bd5d186bf7bd2b33ee6347 (patch)
tree43ab35878220b56a78a8dda05b775df87ddacc4e /chrome/browser/render_view_context_menu.h
parent64b421f984b2dfe04546729f8b35648cac3d0f20 (diff)
downloadchromium_src-63271da3b3740aadd3bd5d186bf7bd2b33ee6347.zip
chromium_src-63271da3b3740aadd3bd5d186bf7bd2b33ee6347.tar.gz
chromium_src-63271da3b3740aadd3bd5d186bf7bd2b33ee6347.tar.bz2
Add support for "Add to dictionary" in the context menu.
Review URL: http://codereview.chromium.org/2446 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2322 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/render_view_context_menu.h')
-rw-r--r--chrome/browser/render_view_context_menu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/render_view_context_menu.h b/chrome/browser/render_view_context_menu.h
index 57e5f63..a306d7f 100644
--- a/chrome/browser/render_view_context_menu.h
+++ b/chrome/browser/render_view_context_menu.h
@@ -16,6 +16,7 @@ class RenderViewContextMenu : public Menu {
Menu::Delegate* delegate,
HWND owner,
ContextNode::Type type,
+ const std::wstring& misspelled_word,
const std::vector<std::wstring>& misspelled_word_suggestions,
Profile* profile);
@@ -31,6 +32,7 @@ class RenderViewContextMenu : public Menu {
void AppendSelectionItems();
void AppendEditableItems();
+ std::wstring misspelled_word_;
std::vector<std::wstring> misspelled_word_suggestions_;
Profile* profile_;