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

Unified Diff: chrome/browser/views/extensions/extension_action_context_menu.h

Issue 501130: Revert 34858 - Merge 34812 Add the rightclick context menu for Browser actio... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/249/src/
Patch Set: Created 11 years 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/views/extensions/extension_action_context_menu.h
===================================================================
--- chrome/browser/views/extensions/extension_action_context_menu.h (revision 35006)
+++ chrome/browser/views/extensions/extension_action_context_menu.h (working copy)
@@ -1,38 +0,0 @@
-// Copyright (c) 2009 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_VIEWS_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_H_
-#define CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_H_
-
-#include "views/controls/menu/menu_2.h"
-#include "chrome/browser/extensions/extension_install_ui.h"
-#include "chrome/browser/extensions/extension_action_context_menu_model.h"
-
-class Extension;
-
-// Displays the context menu for extension action icons (browser/page actions).
-class ExtensionActionContextMenu : public ExtensionInstallUI::Delegate {
- public:
- ExtensionActionContextMenu();
- ~ExtensionActionContextMenu();
-
- // Display the context menu at a given point.
- void Run(Extension* extension, const gfx::Point& point);
-
- // ExtensionInstallUI::Delegate overrides.
- virtual void InstallUIProceed();
- virtual void InstallUIAbort() {}
-
- private:
- // The options menu.
- scoped_ptr<ExtensionActionContextMenuModel> context_menu_contents_;
- scoped_ptr<views::Menu2> context_menu_menu_;
-
- // The extension we are showing the menu for.
- Extension* extension_;
-
- DISALLOW_COPY_AND_ASSIGN(ExtensionActionContextMenu);
-};
-
-#endif // CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_H_
« no previous file with comments | « chrome/browser/views/browser_actions_container.cc ('k') | chrome/browser/views/extensions/extension_action_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698