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

Side by Side Diff: chrome/browser/extensions/api/system_display/system_display_api.h

Issue 389633002: Move system.* family of APIs to extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better comments Created 6 years, 5 months 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 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.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_
7
8 #include <string>
9
10 #include "extensions/browser/extension_function.h"
11
12 namespace extensions {
13
14 class SystemDisplayGetInfoFunction : public SyncExtensionFunction {
15 public:
16 DECLARE_EXTENSION_FUNCTION("system.display.getInfo",
17 SYSTEM_DISPLAY_GETINFO);
18
19 protected:
20 virtual ~SystemDisplayGetInfoFunction() {}
21 virtual bool RunSync() OVERRIDE;
22 };
23
24 class SystemDisplaySetDisplayPropertiesFunction
25 : public SyncExtensionFunction {
26 public:
27 DECLARE_EXTENSION_FUNCTION("system.display.setDisplayProperties",
28 SYSTEM_DISPLAY_SETDISPLAYPROPERTIES);
29
30 protected:
31 virtual ~SystemDisplaySetDisplayPropertiesFunction() {}
32 virtual bool RunSync() OVERRIDE;
33 };
34
35 } // namespace extensions
36
37 #endif // CHROME_BROWSER_EXTENSIONS_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698