Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: chrome/browser/extensions/api/system_indicator/system_indicator_api.h

Issue 11361189: Initial skeleton for System Indicator API (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Clean up extension action arguments, style, smaller tests. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698