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

Unified Diff: ui/views/event_monitor_mac.mm

Issue 1929203004: Rename gfx::Display/Screen to display::Display/Screen in views mac (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
« no previous file with comments | « ui/views/cocoa/bridged_native_widget.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/event_monitor_mac.mm
diff --git a/ui/views/event_monitor_mac.mm b/ui/views/event_monitor_mac.mm
index 37a23bd9b3ceb5a8ee4c817f1f35ad59b483d680..8fb0e0e9a3dae66357cb55cd6276dd5dd2fba87c 100644
--- a/ui/views/event_monitor_mac.mm
+++ b/ui/views/event_monitor_mac.mm
@@ -8,10 +8,10 @@
#include "base/logging.h"
#include "base/memory/ptr_util.h"
+#include "ui/display/screen.h"
#include "ui/events/event.h"
#include "ui/events/event_handler.h"
#include "ui/events/event_utils.h"
-#include "ui/gfx/screen.h"
namespace views {
@@ -30,7 +30,7 @@ std::unique_ptr<EventMonitor> EventMonitor::CreateWindowMonitor(
// static
gfx::Point EventMonitor::GetLastMouseLocation() {
- return gfx::Screen::GetScreen()->GetCursorScreenPoint();
+ return display::Screen::GetScreen()->GetCursorScreenPoint();
}
EventMonitorMac::EventMonitorMac(ui::EventHandler* event_handler,
« no previous file with comments | « ui/views/cocoa/bridged_native_widget.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698