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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 1825723002: Move ScreenWin to ui/display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: content/browser/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index b5f413fc94afa96a6cc1a2884c1c85fa9940efe9..e733f03722a44449945a2f701ff027c5bc29543a 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -102,8 +102,8 @@
#include "content/browser/renderer_host/legacy_render_widget_host_win.h"
#include "content/common/plugin_constants_win.h"
#include "ui/base/win/hidden_window.h"
+#include "ui/display/win/screen_win.h"
#include "ui/gfx/gdi_util.h"
-#include "ui/gfx/screen_win.h"
#include "ui/gfx/win/dpi.h"
#endif
@@ -2419,8 +2419,8 @@ void RenderWidgetHostViewAura::UpdateCursorIfOverSelf() {
if (hwnd_at_point == legacy_render_widget_host_HWND_->hwnd())
hwnd_at_point = legacy_render_widget_host_HWND_->GetParent();
- gfx::ScreenWin* screen_win = static_cast<gfx::ScreenWin*>(screen);
- DCHECK(screen_win);
+ display::win::ScreenWin* screen_win =
+ static_cast<display::win::ScreenWin*>(screen);
window_at_screen_point = screen_win->GetNativeWindowFromHWND(
hwnd_at_point);
}
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/content_browser.gypi » ('j') | ui/display/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698