OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CONTEXT_MENU_MODEL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTEXT_MENU_MODEL_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTEXT_MENU_MODEL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTEXT_MENU_MODEL_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
12 #include "chrome/browser/extensions/extension_uninstall_dialog.h" | 11 #include "chrome/browser/extensions/extension_uninstall_dialog.h" |
13 #include "ui/base/models/simple_menu_model.h" | 12 #include "ui/base/models/simple_menu_model.h" |
14 | 13 |
15 class Browser; | 14 class Browser; |
16 class ExtensionAction; | 15 class ExtensionAction; |
17 class Profile; | 16 class Profile; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 // The delegate which handles the 'inspect popup' menu command (or NULL). | 96 // The delegate which handles the 'inspect popup' menu command (or NULL). |
98 PopupDelegate* delegate_; | 97 PopupDelegate* delegate_; |
99 | 98 |
100 // Keeps track of the extension uninstall dialog. | 99 // Keeps track of the extension uninstall dialog. |
101 scoped_ptr<ExtensionUninstallDialog> extension_uninstall_dialog_; | 100 scoped_ptr<ExtensionUninstallDialog> extension_uninstall_dialog_; |
102 | 101 |
103 DISALLOW_COPY_AND_ASSIGN(ExtensionContextMenuModel); | 102 DISALLOW_COPY_AND_ASSIGN(ExtensionContextMenuModel); |
104 }; | 103 }; |
105 | 104 |
106 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTEXT_MENU_MODEL_H_ | 105 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTEXT_MENU_MODEL_H_ |
OLD | NEW |