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

Unified Diff: chrome/browser/render_view_context_menu.h

Issue 16510: Fixes bug 1925 (context menus for text selections in... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 11 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 | « no previous file | chrome/browser/render_view_context_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/render_view_context_menu.h
===================================================================
--- chrome/browser/render_view_context_menu.h (revision 8273)
+++ chrome/browser/render_view_context_menu.h (working copy)
@@ -15,7 +15,7 @@
RenderViewContextMenu(
Menu::Delegate* delegate,
HWND owner,
- ContextNode::Type type,
+ ContextNode node,
const std::wstring& misspelled_word,
const std::vector<std::wstring>& misspelled_word_suggestions,
Profile* profile);
@@ -23,14 +23,15 @@
virtual ~RenderViewContextMenu();
private:
- void InitMenu(ContextNode::Type type);
+ void InitMenu(ContextNode node);
void AppendDeveloperItems();
void AppendLinkItems();
void AppendImageItems();
void AppendPageItems();
void AppendFrameItems();
- void AppendSelectionItems();
+ void AppendCopyItem();
void AppendEditableItems();
+ void AppendSearchProvider();
std::wstring misspelled_word_;
std::vector<std::wstring> misspelled_word_suggestions_;
« no previous file with comments | « no previous file | chrome/browser/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698