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_IMPL_H_ | |
6 #define CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_IMPL_H_ | |
7 | |
8 #include "chrome/browser/extensions/api/system_display/display_info_provider.h" | |
9 | |
10 namespace extensions { | |
11 | |
12 class DisplayInfoProviderImpl : public DisplayInfoProvider { | |
13 public : | |
James Cook
2014/08/15 19:58:42
no space after "public"
| |
14 DisplayInfoProviderImpl(); | |
15 virtual ~DisplayInfoProviderImpl(); | |
16 | |
17 // DisplayInfoProvider implementation. | |
18 virtual bool SetInfo(const std::string& display_id, | |
19 const api::system_display::DisplayProperties& info, | |
20 std::string* error) OVERRIDE; | |
21 | |
22 private: | |
23 virtual void UpdateDisplayUnitInfoForPlatform( | |
24 const gfx::Display& display, | |
25 extensions::api::system_display::DisplayUnitInfo* unit) OVERRIDE; | |
26 }; | |
James Cook
2014/08/15 19:58:42
DISALLOW_COPY_AND_ASSIGN
| |
27 | |
28 } // namespace extensions | |
29 | |
30 #endif // CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_IMPL_H_ | |
OLD | NEW |