Remove ExtensionPrefs::SetDidExtensionEscalatePermissions.
[chromium-blink-merge.git] / extensions / shell / browser / shell_display_info_provider.cc
blob1666136e2bd35f8b8766abcffb62210277ff287b
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 core_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::core_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