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

Unified Diff: ash/shell/content/client/shell_browser_main_parts.cc

Issue 1924703002: Rename gfx::Display/Screen to display::Display/Screen in ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shell.cc ('k') | ash/shell/window_watcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/content/client/shell_browser_main_parts.cc
diff --git a/ash/shell/content/client/shell_browser_main_parts.cc b/ash/shell/content/client/shell_browser_main_parts.cc
index fb01c2e8f7de3a1c1f430c3e56f498982e054f88..3d3a20e6484319a7855bae6c5fac647f81ed7ee2 100644
--- a/ash/shell/content/client/shell_browser_main_parts.cc
+++ b/ash/shell/content/client/shell_browser_main_parts.cc
@@ -32,7 +32,7 @@
#include "ui/base/material_design/material_design_controller.h"
#include "ui/base/ui_base_paths.h"
#include "ui/compositor/compositor.h"
-#include "ui/gfx/screen.h"
+#include "ui/display/screen.h"
#include "ui/message_center/message_center.h"
#include "ui/views/test/test_views_delegate.h"
#include "ui/wm/core/wm_state.h"
@@ -138,7 +138,7 @@ void ShellBrowserMainParts::PreMainMessageLoopRun() {
ash::Shell::GetInstance()->UpdateAfterLoginStatusChange(user::LOGGED_IN_USER);
window_watcher_.reset(new ash::shell::WindowWatcher);
- gfx::Screen::GetScreen()->AddObserver(window_watcher_.get());
+ display::Screen::GetScreen()->AddObserver(window_watcher_.get());
ash::shell::InitWindowTypeLauncher();
@@ -146,7 +146,7 @@ void ShellBrowserMainParts::PreMainMessageLoopRun() {
}
void ShellBrowserMainParts::PostMainMessageLoopRun() {
- gfx::Screen::GetScreen()->RemoveObserver(window_watcher_.get());
+ display::Screen::GetScreen()->RemoveObserver(window_watcher_.get());
window_watcher_.reset();
delegate_ = nullptr;
« no previous file with comments | « ash/shell.cc ('k') | ash/shell/window_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698