OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 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_DISPLAY_INFO_PROVIDER_CHROMEOS_H_ | |
6 #define CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_ | |
7 | |
8 #include <string> | |
James Cook
2014/08/19 21:48:52
nit: you don't need this, generally for types that
tmpsantos
2014/08/20 18:58:31
I originally wrote without it, but "git cl lint" w
| |
9 | |
10 #include "chrome/browser/extensions/api/system_display/display_info_provider.h" | |
11 | |
12 namespace extensions { | |
13 | |
14 class DisplayInfoProviderChromeOS : public DisplayInfoProvider { | |
15 public: | |
16 DisplayInfoProviderChromeOS(); | |
17 virtual ~DisplayInfoProviderChromeOS(); | |
18 | |
19 virtual bool SetInfo(const std::string& display_id, | |
20 const api::system_display::DisplayProperties& info, | |
21 std::string* error) OVERRIDE; | |
22 | |
23 virtual void UpdateDisplayUnitInfoForPlatform( | |
24 const gfx::Display& display, | |
25 extensions::api::system_display::DisplayUnitInfo* unit) OVERRIDE; | |
26 | |
27 private: | |
28 DISALLOW_COPY_AND_ASSIGN(DisplayInfoProviderChromeOS); | |
29 }; | |
30 | |
31 } // namespace extensions | |
32 | |
33 #endif // CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_ | |
OLD | NEW |