| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_DISPLAY_SYSTEM_DISPLAY_API_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_ | 6 #define EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "extensions/browser/extension_function.h" | 10 #include "extensions/browser/extension_function.h" |
| 11 | 11 |
| 12 namespace extensions { | 12 namespace extensions { |
| 13 | 13 |
| 14 class SystemDisplayGetInfoFunction : public SyncExtensionFunction { | 14 class SystemDisplayGetInfoFunction : public SyncExtensionFunction { |
| 15 public: | 15 public: |
| 16 DECLARE_EXTENSION_FUNCTION("system.display.getInfo", | 16 DECLARE_EXTENSION_FUNCTION("system.display.getInfo", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 27 DECLARE_EXTENSION_FUNCTION("system.display.setDisplayProperties", | 27 DECLARE_EXTENSION_FUNCTION("system.display.setDisplayProperties", |
| 28 SYSTEM_DISPLAY_SETDISPLAYPROPERTIES); | 28 SYSTEM_DISPLAY_SETDISPLAYPROPERTIES); |
| 29 | 29 |
| 30 protected: | 30 protected: |
| 31 virtual ~SystemDisplaySetDisplayPropertiesFunction() {} | 31 virtual ~SystemDisplaySetDisplayPropertiesFunction() {} |
| 32 virtual bool RunSync() OVERRIDE; | 32 virtual bool RunSync() OVERRIDE; |
| 33 }; | 33 }; |
| 34 | 34 |
| 35 } // namespace extensions | 35 } // namespace extensions |
| 36 | 36 |
| 37 #endif // CHROME_BROWSER_EXTENSIONS_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_ | 37 #endif // EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_ |
| OLD | NEW |