Chromium Code Reviews| 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 | |
|
not at google - send to devlin
2012/11/16 17:42:04
It seems to me that the eventual implementation fo
dewittj
2012/11/16 19:13:57
In fact I have already written part of a solution
not at google - send to devlin
2012/11/16 19:21:09
Yes the tab ID stuff is a bit problematic, particu
| |
| 12 class SystemIndicatorSetIconFunction : public SyncExtensionFunction { | |
| 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 |