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

Unified Diff: chrome/browser/ui/views/tabs/window_finder_x11.cc

Issue 1920263003: Rename gfx::Display/Screen to display::Display/Screen in chrome (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: chrome/browser/ui/views/tabs/window_finder_x11.cc
diff --git a/chrome/browser/ui/views/tabs/window_finder_x11.cc b/chrome/browser/ui/views/tabs/window_finder_x11.cc
index c96e03c48a1f295170484939d7506801067b4c9a..1401d9d1075ea2bd4491fd27da5eec8003577516 100644
--- a/chrome/browser/ui/views/tabs/window_finder_x11.cc
+++ b/chrome/browser/ui/views/tabs/window_finder_x11.cc
@@ -4,14 +4,16 @@
#include "chrome/browser/ui/views/tabs/window_finder.h"
+#include "ui/display/screen.h"
#include "ui/gfx/geometry/point_conversions.h"
-#include "ui/gfx/screen.h"
#include "ui/views/widget/desktop_aura/x11_topmost_window_finder.h"
namespace {
float GetDeviceScaleFactor() {
- return gfx::Screen::GetScreen()->GetPrimaryDisplay().device_scale_factor();
+ return display::Screen::GetScreen()
+ ->GetPrimaryDisplay()
+ .device_scale_factor();
}
gfx::Point DIPToPixelPoint(const gfx::Point& dip_point) {
« no previous file with comments | « chrome/browser/ui/views/tabs/window_finder_win.cc ('k') | chrome/browser/ui/views/toolbar/toolbar_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698