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

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

Issue 1924133002: Rename gfx::Display/Screen to display::Display/Screen in extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 "extensions/shell/browser/shell_display_info_provider.h" 5 #include "extensions/shell/browser/shell_display_info_provider.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace extensions { 9 namespace extensions {
10 10
11 ShellDisplayInfoProvider::ShellDisplayInfoProvider() { 11 ShellDisplayInfoProvider::ShellDisplayInfoProvider() {
12 } 12 }
13 13
14 ShellDisplayInfoProvider::~ShellDisplayInfoProvider() { 14 ShellDisplayInfoProvider::~ShellDisplayInfoProvider() {
15 } 15 }
16 16
17 bool ShellDisplayInfoProvider::SetInfo( 17 bool ShellDisplayInfoProvider::SetInfo(
18 const std::string& display_id, 18 const std::string& display_id,
19 const api::system_display::DisplayProperties& info, 19 const api::system_display::DisplayProperties& info,
20 std::string* error) { 20 std::string* error) {
21 *error = "Not implemented"; 21 *error = "Not implemented";
22 return false; 22 return false;
23 } 23 }
24 24
25 void ShellDisplayInfoProvider::UpdateDisplayUnitInfoForPlatform( 25 void ShellDisplayInfoProvider::UpdateDisplayUnitInfoForPlatform(
26 const gfx::Display& display, 26 const display::Display& display,
27 extensions::api::system_display::DisplayUnitInfo* unit) { 27 extensions::api::system_display::DisplayUnitInfo* unit) {
28 static bool logged_once = false; 28 static bool logged_once = false;
29 if (!logged_once) { 29 if (!logged_once) {
30 NOTIMPLEMENTED(); 30 NOTIMPLEMENTED();
31 logged_once = true; 31 logged_once = true;
32 } 32 }
33 } 33 }
34 34
35 // static 35 // static
36 DisplayInfoProvider* DisplayInfoProvider::Create() { 36 DisplayInfoProvider* DisplayInfoProvider::Create() {
37 return new ShellDisplayInfoProvider(); 37 return new ShellDisplayInfoProvider();
38 } 38 }
39 39
40 } // namespace extensions 40 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_display_info_provider.h ('k') | extensions/shell/browser/shell_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698