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

Side by Side Diff: browser/extensions/extension_action_context_menu_model.h

Issue 501119: Fix build problem on the 249 branch.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/249/src/chrome/
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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_MODEL_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_MODEL_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_MODEL_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_MODEL_H_
7 7
8 #include "app/menus/simple_menu_model.h" 8 #include "app/menus/simple_menu_model.h"
9 #include "chrome/browser/extensions/extension_install_ui.h" 9 #include "views/controls/menu/simple_menu_model.h"
10 10
11 class Extension; 11 class Extension;
12 12
13 // The menu model for the context menu for extension action icons (browser and 13 // The menu model for the context menu for extension action icons (browser and
14 // page actions). 14 // page actions).
15 class ExtensionActionContextMenuModel 15 class ExtensionActionContextMenuModel
16 : public menus::SimpleMenuModel, 16 : public menus::SimpleMenuModel,
17 public menus::SimpleMenuModel::Delegate { 17 public menus::SimpleMenuModel::Delegate {
18 public: 18 public:
19 ExtensionActionContextMenuModel(Extension* extension, 19 ExtensionActionContextMenuModel(Extension* extension,
(...skipping 11 matching lines...) Expand all
31 // The extension we are displaying the context menu for. 31 // The extension we are displaying the context menu for.
32 Extension* extension_; 32 Extension* extension_;
33 33
34 // The delegate that handles the extension Uninstall operation. 34 // The delegate that handles the extension Uninstall operation.
35 ExtensionInstallUI::Delegate* delegate_; 35 ExtensionInstallUI::Delegate* delegate_;
36 36
37 DISALLOW_COPY_AND_ASSIGN(ExtensionActionContextMenuModel); 37 DISALLOW_COPY_AND_ASSIGN(ExtensionActionContextMenuModel);
38 }; 38 };
39 39
40 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_MODEL_H_ 40 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_CONTEXT_MENU_MODEL_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698