| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "extensions/shell/browser/shell_display_info_provider.h" | 5 #include "extensions/shell/browser/shell_display_info_provider.h" |
| 6 | 6 |
| 7 namespace extensions { | 7 namespace extensions { |
| 8 | 8 |
| 9 ShellDisplayInfoProvider::ShellDisplayInfoProvider() { | 9 ShellDisplayInfoProvider::ShellDisplayInfoProvider() { |
| 10 } | 10 } |
| 11 | 11 |
| 12 ShellDisplayInfoProvider::~ShellDisplayInfoProvider() { | 12 ShellDisplayInfoProvider::~ShellDisplayInfoProvider() { |
| 13 } | 13 } |
| 14 | 14 |
| 15 bool ShellDisplayInfoProvider::SetInfo( | 15 bool ShellDisplayInfoProvider::SetInfo( |
| 16 const std::string& display_id, | 16 const std::string& display_id, |
| 17 const core_api::system_display::DisplayProperties& info, | 17 const core_api::system_display::DisplayProperties& info, |
| 18 std::string* error) { | 18 std::string* error) { |
| 19 *error = "Not implemented"; | 19 *error = "Not implemented"; |
| 20 return false; | 20 return false; |
| 21 } | 21 } |
| 22 | 22 |
| 23 void ShellDisplayInfoProvider::UpdateDisplayUnitInfoForPlatform( | 23 void ShellDisplayInfoProvider::UpdateDisplayUnitInfoForPlatform( |
| 24 const gfx::Display& display, | 24 const gfx::Display& display, |
| 25 extensions::core_api::system_display::DisplayUnitInfo* unit) { | 25 extensions::core_api::system_display::DisplayUnitInfo* unit) { |
| 26 NOTIMPLEMENTED(); | 26 NOTIMPLEMENTED(); |
| 27 } | 27 } |
| 28 | 28 |
| 29 gfx::Screen* ShellDisplayInfoProvider::GetActiveScreen() { | 29 gfx::Screen* ShellDisplayInfoProvider::GetActiveScreen() { |
| 30 return NULL; | 30 return nullptr; |
| 31 } | 31 } |
| 32 | 32 |
| 33 // static | 33 // static |
| 34 DisplayInfoProvider* DisplayInfoProvider::Create() { | 34 DisplayInfoProvider* DisplayInfoProvider::Create() { |
| 35 return new ShellDisplayInfoProvider(); | 35 return new ShellDisplayInfoProvider(); |
| 36 } | 36 } |
| 37 | 37 |
| 38 } // namespace extensions | 38 } // namespace extensions |
| OLD | NEW |