| 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_BROWSER_ACTIONS
_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_BROWSER_ACTIONS
_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_BROWSER_ACTIONS
_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_BROWSER_ACTIONS
_API_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/extensions/api/extension_action/extension_actions_api.h
" | 8 #include "chrome/browser/extensions/api/extension_action/extension_actions_api.h
" |
| 9 #include "chrome/browser/extensions/extension_action.h" |
| 9 #include "chrome/browser/extensions/extension_function.h" | 10 #include "chrome/browser/extensions/extension_function.h" |
| 10 #include "chrome/common/extensions/extension_action.h" | |
| 11 | 11 |
| 12 // | 12 // |
| 13 // browserAction.* aliases for supported browserActions APIs. | 13 // browserAction.* aliases for supported browserActions APIs. |
| 14 // | 14 // |
| 15 | 15 |
| 16 class BrowserActionSetIconFunction : public ExtensionActionSetIconFunction { | 16 class BrowserActionSetIconFunction : public ExtensionActionSetIconFunction { |
| 17 public: | 17 public: |
| 18 DECLARE_EXTENSION_FUNCTION_NAME("browserAction.setIcon") | 18 DECLARE_EXTENSION_FUNCTION_NAME("browserAction.setIcon") |
| 19 | 19 |
| 20 protected: | 20 protected: |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 99 |
| 100 class BrowserActionDisableFunction : public ExtensionActionHideFunction { | 100 class BrowserActionDisableFunction : public ExtensionActionHideFunction { |
| 101 public: | 101 public: |
| 102 DECLARE_EXTENSION_FUNCTION_NAME("browserAction.disable") | 102 DECLARE_EXTENSION_FUNCTION_NAME("browserAction.disable") |
| 103 | 103 |
| 104 protected: | 104 protected: |
| 105 virtual ~BrowserActionDisableFunction() {} | 105 virtual ~BrowserActionDisableFunction() {} |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 #endif // CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_BROWSER_ACTI
ONS_API_H_ | 108 #endif // CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_BROWSER_ACTI
ONS_API_H_ |
| OLD | NEW |