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

Side by Side Diff: extensions/shell/browser/shell_display_info_provider.cc

Issue 1608053002: Remove now-unnecessary wrappers around gfx::Screen::GetScreen() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-5
Patch Set: cros Created 4 years, 11 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
« no previous file with comments | « extensions/shell/browser/shell_display_info_provider.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "extensions/shell/browser/shell_display_info_provider.h" 5 #include "extensions/shell/browser/shell_display_info_provider.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 ShellDisplayInfoProvider::ShellDisplayInfoProvider() { 9 ShellDisplayInfoProvider::ShellDisplayInfoProvider() {
10 } 10 }
(...skipping 12 matching lines...) Expand all
23 void ShellDisplayInfoProvider::UpdateDisplayUnitInfoForPlatform( 23 void ShellDisplayInfoProvider::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 static bool logged_once = false; 26 static bool logged_once = false;
27 if (!logged_once) { 27 if (!logged_once) {
28 NOTIMPLEMENTED(); 28 NOTIMPLEMENTED();
29 logged_once = true; 29 logged_once = true;
30 } 30 }
31 } 31 }
32 32
33 gfx::Screen* ShellDisplayInfoProvider::GetActiveScreen() {
34 return NULL;
35 }
36
37 // static 33 // static
38 DisplayInfoProvider* DisplayInfoProvider::Create() { 34 DisplayInfoProvider* DisplayInfoProvider::Create() {
39 return new ShellDisplayInfoProvider(); 35 return new ShellDisplayInfoProvider();
40 } 36 }
41 37
42 } // namespace extensions 38 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_display_info_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698