MacViews: Get c/b/ui/views/tabs to build on Mac
[chromium-blink-merge.git] / chrome / browser / extensions / display_info_provider_aura.cc
blobbf9a952b45b0fa5d2485db62d8ea51b703540095
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 "chrome/browser/extensions/display_info_provider_aura.h"
7 #include "ui/gfx/screen.h"
9 namespace extensions {
11 DisplayInfoProviderAura::DisplayInfoProviderAura() {
14 DisplayInfoProviderAura::~DisplayInfoProviderAura() {
17 bool DisplayInfoProviderAura::SetInfo(
18 const std::string& display_id,
19 const core_api::system_display::DisplayProperties& info,
20 std::string* error) {
21 *error = "Not implemented";
22 return false;
25 void DisplayInfoProviderAura::UpdateDisplayUnitInfoForPlatform(
26 const gfx::Display& display,
27 extensions::core_api::system_display::DisplayUnitInfo* unit) {
28 NOTIMPLEMENTED();
31 gfx::Screen* DisplayInfoProviderAura::GetActiveScreen() {
32 return gfx::Screen::GetNativeScreen();
35 // static
36 DisplayInfoProvider* DisplayInfoProvider::Create() {
37 return new DisplayInfoProviderAura();
40 } // namespace extensions