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"
9 ShellDisplayInfoProvider::ShellDisplayInfoProvider() {
12 ShellDisplayInfoProvider::~ShellDisplayInfoProvider() {
15 bool ShellDisplayInfoProvider::SetInfo(
16 const std::string
& display_id
,
17 const core_api::system_display::DisplayProperties
& info
,
19 *error
= "Not implemented";
23 void ShellDisplayInfoProvider::UpdateDisplayUnitInfoForPlatform(
24 const gfx::Display
& display
,
25 extensions::core_api::system_display::DisplayUnitInfo
* unit
) {
26 static bool logged_once
= false;
33 gfx::Screen
* ShellDisplayInfoProvider::GetActiveScreen() {
38 DisplayInfoProvider
* DisplayInfoProvider::Create() {
39 return new ShellDisplayInfoProvider();
42 } // namespace extensions