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/extension_function.h" | |
9 | |
10 namespace extensions { | |
11 | |
12 class SystemIndicatorSetIconFunction : public SyncExtensionFunction { | |
not at google - send to devlin
2012/11/20 23:58:08
Why not just exactly copy the way this is done fro
dewittj
2012/11/21 22:09:41
Was going to do this in a later CL, but added it h
| |
13 public: | |
14 SystemIndicatorSetIconFunction(); | |
15 DECLARE_EXTENSION_FUNCTION_NAME("systemIndicator.setIcon") | |
16 | |
17 protected: | |
18 virtual ~SystemIndicatorSetIconFunction() {} | |
19 | |
20 virtual bool RunImpl() OVERRIDE; | |
21 }; | |
22 | |
23 class SystemIndicatorEnableFunction : public SyncExtensionFunction { | |
24 public: | |
25 SystemIndicatorEnableFunction(); | |
26 DECLARE_EXTENSION_FUNCTION_NAME("systemIndicator.enable") | |
27 | |
28 protected: | |
29 virtual ~SystemIndicatorEnableFunction() {} | |
30 | |
31 virtual bool RunImpl() OVERRIDE; | |
32 }; | |
33 | |
34 class SystemIndicatorDisableFunction : public SyncExtensionFunction { | |
35 public: | |
36 SystemIndicatorDisableFunction(); | |
37 DECLARE_EXTENSION_FUNCTION_NAME("systemIndicator.disable"); | |
38 | |
39 protected: | |
40 virtual ~SystemIndicatorDisableFunction() {} | |
41 | |
42 virtual bool RunImpl() OVERRIDE; | |
43 }; | |
44 | |
45 } // namespace extensions | |
46 | |
47 #endif // CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INDICATOR_SYSTEM_INDICATOR_API_H _ | |
OLD | NEW |