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_API_CONTEXT_MENU_CONTEXT_MENU_API_H__ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_CONTEXT_MENU_CONTEXT_MENU_API_H__ |
6 #define CHROME_BROWSER_EXTENSIONS_API_CONTEXT_MENU_CONTEXT_MENU_API_H__ | 6 #define CHROME_BROWSER_EXTENSIONS_API_CONTEXT_MENU_CONTEXT_MENU_API_H__ |
7 #pragma once | |
8 | 7 |
9 #include "chrome/browser/extensions/extension_function.h" | 8 #include "chrome/browser/extensions/extension_function.h" |
10 #include "chrome/browser/extensions/menu_manager.h" | 9 #include "chrome/browser/extensions/menu_manager.h" |
11 #include "chrome/common/extensions/url_pattern_set.h" | 10 #include "chrome/common/extensions/url_pattern_set.h" |
12 | 11 |
13 class MenuItem; | 12 class MenuItem; |
14 | 13 |
15 namespace base { | 14 namespace base { |
16 class DictionaryValue; | 15 class DictionaryValue; |
17 } | 16 } |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 protected: | 95 protected: |
97 virtual ~RemoveAllContextMenusFunction() {} | 96 virtual ~RemoveAllContextMenusFunction() {} |
98 | 97 |
99 // ExtensionFunction: | 98 // ExtensionFunction: |
100 virtual bool RunImpl() OVERRIDE; | 99 virtual bool RunImpl() OVERRIDE; |
101 }; | 100 }; |
102 | 101 |
103 } // namespace extensions | 102 } // namespace extensions |
104 | 103 |
105 #endif // CHROME_BROWSER_EXTENSIONS_API_CONTEXT_MENU_CONTEXT_MENU_API_H__ | 104 #endif // CHROME_BROWSER_EXTENSIONS_API_CONTEXT_MENU_CONTEXT_MENU_API_H__ |
OLD | NEW |