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

Unified Diff: ash/system/chromeos/rotation/tray_rotation_lock.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
Index: ash/system/chromeos/rotation/tray_rotation_lock.cc
diff --git a/ash/system/chromeos/rotation/tray_rotation_lock.cc b/ash/system/chromeos/rotation/tray_rotation_lock.cc
index f288ce37a28190bfd5c5f16188fd64c5aad3ab02..31d6faf75ec77cc68a571b85f2c03e86a04d8254 100644
--- a/ash/system/chromeos/rotation/tray_rotation_lock.cc
+++ b/ash/system/chromeos/rotation/tray_rotation_lock.cc
@@ -13,7 +13,7 @@
#include "grit/ash_strings.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
-#include "ui/gfx/display.h"
+#include "ui/display/display.h"
namespace ash {
@@ -149,8 +149,8 @@ bool TrayRotationLock::ShouldBeVisible() {
bool TrayRotationLock::OnPrimaryDisplay() const {
gfx::NativeView native_view = system_tray()->GetWidget()->GetNativeView();
- gfx::Display parent_display =
- gfx::Screen::GetScreen()->GetDisplayNearestWindow(native_view);
+ display::Display parent_display =
+ display::Screen::GetScreen()->GetDisplayNearestWindow(native_view);
return parent_display.IsInternal();
}
« no previous file with comments | « ash/system/chromeos/brightness/tray_brightness.cc ('k') | ash/system/chromeos/rotation/tray_rotation_lock_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698