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

Unified Diff: chrome/browser/renderer_context_menu/render_view_context_menu.h

Issue 1357393002: Desktop context menu reorganisation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: chrome/browser/renderer_context_menu/render_view_context_menu.h
diff --git a/chrome/browser/renderer_context_menu/render_view_context_menu.h b/chrome/browser/renderer_context_menu/render_view_context_menu.h
index a8038b99735b480e4b70c3d5abc813bcb1553d18..adbb51594dea87f8f8500e3759aca9ca0463d985 100644
--- a/chrome/browser/renderer_context_menu/render_view_context_menu.h
+++ b/chrome/browser/renderer_context_menu/render_view_context_menu.h
@@ -82,6 +82,7 @@ class RenderViewContextMenu : public RenderViewContextMenuBase {
#if defined(ENABLE_EXTENSIONS)
extensions::ContextMenuMatcher extension_items_;
#endif
+ void RecordUsedItem(int id) override;
private:
friend class RenderViewContextMenuTest;
@@ -101,7 +102,6 @@ class RenderViewContextMenu : public RenderViewContextMenuBase {
// RenderViewContextMenuBase:
void InitMenu() override;
void RecordShownItem(int id) override;
- void RecordUsedItem(int id) override;
#if defined(ENABLE_PLUGINS)
void HandleAuthorizeAllPlugins() override;
#endif
@@ -119,14 +119,13 @@ class RenderViewContextMenu : public RenderViewContextMenuBase {
void AppendAudioItems();
void AppendCanvasItems();
void AppendVideoItems();
- void AppendMediaItems();
void AppendPluginItems();
void AppendPageItems();
- void AppendFrameItems();
void AppendCopyItem();
void AppendPrintItem();
void AppendRotationItems();
void AppendEditableItems();
+ void AppendLanguageSettings();
void AppendSearchProvider();
#if defined(ENABLE_EXTENSIONS)
void AppendAllExtensionItems();
@@ -135,7 +134,6 @@ class RenderViewContextMenu : public RenderViewContextMenuBase {
void AppendPrintPreviewItems();
void AppendSearchWebForImageItems();
void AppendSpellingSuggestionsSubMenu();
- void AppendSpellcheckOptionsSubMenu();
void AppendProtocolHandlerSubMenu();
void AppendPasswordItems();
@@ -175,9 +173,6 @@ class RenderViewContextMenu : public RenderViewContextMenuBase {
// An observer that handles spelling-menu items.
scoped_ptr<SpellingMenuObserver> spelling_menu_observer_;
- // An observer that handles a 'spell-checker options' submenu.
- scoped_ptr<SpellCheckerSubMenuObserver> spellchecker_submenu_observer_;
-
#if defined(ENABLE_PRINT_PREVIEW)
// An observer that disables menu items when print preview is active.
scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_;
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/renderer_context_menu/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698