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

Unified Diff: chrome/browser/ui/panels/panel_mouse_watcher_timer.cc

Issue 1608733002: Remove ui/gfx/screen_type_delegate.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-4
Patch Set: and another rebase Created 4 years, 11 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/panels/panel_mouse_watcher_timer.cc
diff --git a/chrome/browser/ui/panels/panel_mouse_watcher_timer.cc b/chrome/browser/ui/panels/panel_mouse_watcher_timer.cc
index 7480f211532c561a51a7f950d9ab5b153307a0c6..dab6dccb3b1552252c5a2ad022e1e4f6ee6c8d45 100644
--- a/chrome/browser/ui/panels/panel_mouse_watcher_timer.cc
+++ b/chrome/browser/ui/panels/panel_mouse_watcher_timer.cc
@@ -66,8 +66,7 @@ bool PanelMouseWatcherTimer::IsActive() const {
}
gfx::Point PanelMouseWatcherTimer::GetMousePosition() const {
- // TODO(scottmg): NativeScreen is wrong. http://crbug.com/133312
- return gfx::Screen::GetNativeScreen()->GetCursorScreenPoint();
+ return gfx::Screen::GetScreen()->GetCursorScreenPoint();
}
void PanelMouseWatcherTimer::DoWork() {
« no previous file with comments | « chrome/browser/ui/panels/display_settings_provider.cc ('k') | chrome/browser/ui/views/app_list/linux/app_list_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698