Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: chrome/browser/extensions/display_info_provider_mac.cc

Issue 507783003: Add GetActiveScreen to DisplayInfoProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "chrome/browser/extensions/display_info_provider_mac.h" 5 #include "chrome/browser/extensions/display_info_provider_mac.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 DisplayInfoProviderMac::DisplayInfoProviderMac() { 9 DisplayInfoProviderMac::DisplayInfoProviderMac() {
10 } 10 }
11 11
12 DisplayInfoProviderMac::~DisplayInfoProviderMac() { 12 DisplayInfoProviderMac::~DisplayInfoProviderMac() {
13 } 13 }
14 14
15 bool DisplayInfoProviderMac::SetInfo( 15 bool DisplayInfoProviderMac::SetInfo(
16 const std::string& display_id, 16 const std::string& display_id,
17 const api::system_display::DisplayProperties& info, 17 const 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 DisplayInfoProviderMac::UpdateDisplayUnitInfoForPlatform( 23 void DisplayInfoProviderMac::UpdateDisplayUnitInfoForPlatform(
24 const gfx::Display& display, 24 const gfx::Display& display,
25 extensions::api::system_display::DisplayUnitInfo* unit) { 25 extensions::api::system_display::DisplayUnitInfo* unit) {
26 NOTIMPLEMENTED(); 26 NOTIMPLEMENTED();
27 } 27 }
28 28
29 gfx::Screen* DisplayInfoProviderMac::GetActiveScreen() {
30 return NULL;
31 }
32
29 // static 33 // static
30 DisplayInfoProvider* DisplayInfoProvider::Create() { 34 DisplayInfoProvider* DisplayInfoProvider::Create() {
31 return new DisplayInfoProviderMac(); 35 return new DisplayInfoProviderMac();
32 } 36 }
33 37
34 } // namespace extensions 38 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/display_info_provider_mac.h ('k') | chrome/browser/extensions/display_info_provider_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698