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
3 // found in the LICENSE file.
5 #ifndef EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_
6 #define EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_
10 #include "extensions/browser/extension_function.h"
12 namespace extensions {
14 class SystemDisplayGetInfoFunction : public SyncExtensionFunction {
16 DECLARE_EXTENSION_FUNCTION("system.display.getInfo", SYSTEM_DISPLAY_GETINFO);
19 virtual ~SystemDisplayGetInfoFunction() {}
20 virtual bool RunSync() OVERRIDE;
23 class SystemDisplaySetDisplayPropertiesFunction : public SyncExtensionFunction {
25 DECLARE_EXTENSION_FUNCTION("system.display.setDisplayProperties",
26 SYSTEM_DISPLAY_SETDISPLAYPROPERTIES);
29 virtual ~SystemDisplaySetDisplayPropertiesFunction() {}
30 virtual bool RunSync() OVERRIDE;
33 } // namespace extensions
35 #endif // EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_