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_EXTENSION_ACTION_EXTENSION_ACTIONS_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_ACTIONS_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_ACTIONS_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_ACTIONS_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/common/extensions/extension_action.h" | 9 #include "chrome/common/extensions/extension_action.h" |
11 | 10 |
12 namespace base { | 11 namespace base { |
13 class DictionaryValue; | 12 class DictionaryValue; |
14 } | 13 } |
15 class TabContents; | 14 class TabContents; |
16 | 15 |
17 // Implementation of the browserAction, pageAction, and scriptBadge APIs. | 16 // Implementation of the browserAction, pageAction, and scriptBadge APIs. |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 129 |
131 // getBadgeBackgroundColor | 130 // getBadgeBackgroundColor |
132 class ExtensionActionGetBadgeBackgroundColorFunction | 131 class ExtensionActionGetBadgeBackgroundColorFunction |
133 : public ExtensionActionFunction { | 132 : public ExtensionActionFunction { |
134 protected: | 133 protected: |
135 virtual ~ExtensionActionGetBadgeBackgroundColorFunction() {} | 134 virtual ~ExtensionActionGetBadgeBackgroundColorFunction() {} |
136 virtual bool RunExtensionAction() OVERRIDE; | 135 virtual bool RunExtensionAction() OVERRIDE; |
137 }; | 136 }; |
138 | 137 |
139 #endif // CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_ACTIONS_API_
H_ | 138 #endif // CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_ACTIONS_API_
H_ |
OLD | NEW |