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 #include "chrome/browser/extensions/display_info_provider_athena.h" | |
6 | |
7 namespace extensions { | |
8 | |
9 DisplayInfoProviderAthena::DisplayInfoProviderAthena() { | |
10 } | |
11 | |
12 DisplayInfoProviderAthena::~DisplayInfoProviderAthena() { | |
13 } | |
14 | |
15 bool DisplayInfoProviderAthena::SetInfo( | |
16 const std::string& display_id_str, | |
17 const core_api::system_display::DisplayProperties& info, | |
18 std::string* error) { | |
19 *error = "Not implemented"; | |
20 return false; | |
21 } | |
22 | |
23 void DisplayInfoProviderAthena::UpdateDisplayUnitInfoForPlatform( | |
24 const gfx::Display& display, | |
25 extensions::core_api::system_display::DisplayUnitInfo* unit) { | |
26 static bool logged_once = false; | |
27 if (!logged_once) { | |
28 NOTIMPLEMENTED(); | |
29 logged_once = true; | |
30 } | |
31 } | |
32 | |
33 gfx::Screen* DisplayInfoProviderAthena::GetActiveScreen() { | |
34 NOTIMPLEMENTED(); | |
35 return NULL; | |
36 } | |
37 | |
38 // static | |
39 DisplayInfoProvider* DisplayInfoProvider::Create() { | |
40 return new DisplayInfoProviderAthena(); | |
41 } | |
42 | |
43 } // namespace extensions | |
OLD | NEW |