| 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_SYSTEM_INDICATOR_SYSTEM_INDICATOR_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_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_action_api.h" |
| 9 #include "chrome/browser/extensions/extension_function.h" | 9 #include "chrome/browser/extensions/extension_function.h" |
| 10 | 10 |
| 11 namespace extensions { | 11 namespace extensions { |
| 12 | 12 |
| 13 class SystemIndicatorSetIconFunction : public ExtensionActionSetIconFunction { | 13 class SystemIndicatorSetIconFunction : public ExtensionActionSetIconFunction { |
| 14 public: | 14 public: |
| 15 DECLARE_EXTENSION_FUNCTION("systemIndicator.setIcon", SYSTEMINDICATOR_SETICON) | 15 DECLARE_EXTENSION_FUNCTION("systemIndicator.setIcon", SYSTEMINDICATOR_SETICON) |
| 16 | 16 |
| 17 protected: | 17 protected: |
| 18 virtual ~SystemIndicatorSetIconFunction() {} | 18 virtual ~SystemIndicatorSetIconFunction() {} |
| (...skipping 11 matching lines...) Expand all Loading... |
| 30 public: | 30 public: |
| 31 DECLARE_EXTENSION_FUNCTION("systemIndicator.disable", SYSTEMINDICATOR_DISABLE) | 31 DECLARE_EXTENSION_FUNCTION("systemIndicator.disable", SYSTEMINDICATOR_DISABLE) |
| 32 | 32 |
| 33 protected: | 33 protected: |
| 34 virtual ~SystemIndicatorDisableFunction() {} | 34 virtual ~SystemIndicatorDisableFunction() {} |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 } // namespace extensions | 37 } // namespace extensions |
| 38 | 38 |
| 39 #endif // CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_API_H
_ | 39 #endif // CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_API_H
_ |
| OLD | NEW |