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

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

Issue 659883002: Enable hidpi on Linux, refactor a bit on Windows to share Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: constants Created 6 years, 2 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_win.cc
diff --git a/chrome/browser/ui/views/tabs/window_finder_win.cc b/chrome/browser/ui/views/tabs/window_finder_win.cc
index 6d365bdc7e5dee5f936d44f923a5da138109fa68..94015a793c781e7933b1f5f97cead61a0ed561de 100644
--- a/chrome/browser/ui/views/tabs/window_finder_win.cc
+++ b/chrome/browser/ui/views/tabs/window_finder_win.cc
@@ -7,8 +7,8 @@
#include "base/win/scoped_gdi_object.h"
#include "base/win/windows_version.h"
#include "ui/aura/window.h"
+#include "ui/gfx/dpi.h"
#include "ui/gfx/screen.h"
-#include "ui/gfx/win/dpi.h"
#include "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h"
#include "ui/views/win/hwnd_util.h"
@@ -129,7 +129,7 @@ class TopMostFinder : public BaseWindowFinder {
target_(window),
is_top_most_(false),
tmp_region_(CreateRectRgn(0, 0, 0, 0)) {
- screen_loc_ = gfx::win::DIPToScreenPoint(screen_loc);
+ screen_loc_ = gfx::DIPToScreenPoint(screen_loc);
EnumWindows(WindowCallbackProc, as_lparam());
}
@@ -191,7 +191,7 @@ class LocalProcessWindowFinder : public BaseWindowFinder {
const std::set<HWND>& ignore)
: BaseWindowFinder(ignore),
result_(NULL) {
- screen_loc_ = gfx::win::DIPToScreenPoint(screen_loc);
+ screen_loc_ = gfx::DIPToScreenPoint(screen_loc);
EnumThreadWindows(GetCurrentThreadId(), WindowCallbackProc, as_lparam());
}

Powered by Google App Engine
This is Rietveld 408576698