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

Unified Diff: chrome/browser/renderer_context_menu/open_with_menu_factory.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, 8 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/open_with_menu_factory.h
diff --git a/chrome/browser/renderer_context_menu/open_with_menu_factory.h b/chrome/browser/renderer_context_menu/open_with_menu_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..2ce4db42cf7a24b3edefbfa9cfe765f2a511f0f2
--- /dev/null
+++ b/chrome/browser/renderer_context_menu/open_with_menu_factory.h
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_OPEN_WITH_MENU_FACTORY_H_
+#define CHROME_BROWSER_RENDERER_CONTEXT_MENU_OPEN_WITH_MENU_FACTORY_H_
+
+#include "base/macros.h"
+
+class RenderViewContextMenuObserver;
+class RenderViewContextMenuProxy;
+
+class OpenWithMenuFactory {
+ public:
+ static RenderViewContextMenuObserver* CreateMenu(
+ RenderViewContextMenuProxy* proxy);
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(OpenWithMenuFactory);
hidehiko 2016/04/20 04:40:18 DISALLOW_IMPLICIT_CONSTRUCTORS.
Yusuke Sato 2016/04/22 05:27:47 Done.
+};
+
+#endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_OPEN_WITH_MENU_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698