OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_API_H_ |
| 7 |
| 8 #include "chrome/browser/extensions/api/extension_action/extension_actions_api.h
" |
| 9 #include "chrome/browser/extensions/extension_function.h" |
| 10 |
| 11 namespace extensions { |
| 12 |
| 13 class SystemIndicatorSetIconFunction : public ExtensionActionSetIconFunction { |
| 14 public: |
| 15 DECLARE_EXTENSION_FUNCTION_NAME("systemIndicator.setIcon") |
| 16 |
| 17 protected: |
| 18 virtual ~SystemIndicatorSetIconFunction() {} |
| 19 }; |
| 20 |
| 21 class SystemIndicatorEnableFunction : public ExtensionActionShowFunction { |
| 22 public: |
| 23 DECLARE_EXTENSION_FUNCTION_NAME("systemIndicator.enable") |
| 24 |
| 25 protected: |
| 26 virtual ~SystemIndicatorEnableFunction() {} |
| 27 }; |
| 28 |
| 29 class SystemIndicatorDisableFunction : public ExtensionActionHideFunction { |
| 30 public: |
| 31 DECLARE_EXTENSION_FUNCTION_NAME("systemIndicator.disable"); |
| 32 |
| 33 protected: |
| 34 virtual ~SystemIndicatorDisableFunction() {} |
| 35 }; |
| 36 |
| 37 } // namespace extensions |
| 38 |
| 39 #endif // CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_API_H
_ |
OLD | NEW |