Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / extensions / shell / browser / shell_display_info_provider.cc
blob32239ab0a26170d9276a2c5169712931e0e9adb7
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.
5 #include "extensions/shell/browser/shell_display_info_provider.h"
7 namespace extensions {
9 ShellDisplayInfoProvider::ShellDisplayInfoProvider() {
12 ShellDisplayInfoProvider::~ShellDisplayInfoProvider() {
15 bool ShellDisplayInfoProvider::SetInfo(
16 const std::string& display_id,
17 const api::system_display::DisplayProperties& info,
18 std::string* error) {
19 *error = "Not implemented";
20 return false;
23 void ShellDisplayInfoProvider::UpdateDisplayUnitInfoForPlatform(
24 const gfx::Display& display,
25 extensions::api::system_display::DisplayUnitInfo* unit) {
26 static bool logged_once = false;
27 if (!logged_once) {
28 NOTIMPLEMENTED();
29 logged_once = true;
33 gfx::Screen* ShellDisplayInfoProvider::GetActiveScreen() {
34 return NULL;
37 // static
38 DisplayInfoProvider* DisplayInfoProvider::Create() {
39 return new ShellDisplayInfoProvider();
42 } // namespace extensions