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

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

Issue 1760773004: Add "Open with <ARC-app-name>" items to the context menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 9 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 9148d4d38af708aa44c1174d8d22a0c0fedb47cc..8ce474df0cfca9bce4bce3f89756838d2d826b5c 100644
--- a/chrome/browser/renderer_context_menu/render_view_context_menu.h
+++ b/chrome/browser/renderer_context_menu/render_view_context_menu.h
@@ -28,6 +28,9 @@
#include "chrome/browser/extensions/menu_manager.h"
#endif
+#if defined(OS_CHROMEOS)
+class ArcAppMenuObserver;
+#endif
class PrintPreviewContextMenuObserver;
class Profile;
class SpellingMenuObserver;
@@ -117,6 +120,9 @@ class RenderViewContextMenu : public RenderViewContextMenuBase {
void AppendDeveloperItems();
void AppendDevtoolsForUnpackedExtensions();
void AppendLinkItems();
+#if defined(OS_CHROMEOS)
+ void AppendArcLinkItems();
+#endif
void AppendImageItems();
void AppendAudioItems();
void AppendCanvasItems();
@@ -187,6 +193,11 @@ class RenderViewContextMenu : public RenderViewContextMenuBase {
scoped_ptr<SpellingOptionsSubMenuObserver> spelling_options_submenu_observer_;
#endif
+#if defined(OS_CHROMEOS)
+ // An observer that handles ARC app menu items.
+ scoped_ptr<ArcAppMenuObserver> arc_app_menu_observer_;
+#endif
+
#if defined(ENABLE_PRINT_PREVIEW)
// An observer that disables menu items when print preview is active.
scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_;

Powered by Google App Engine
This is Rietveld 408576698