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

Unified Diff: ui/gfx/screen_mac.mm

Issue 1935083003: gfx::Screen: Replace GetWindowUnderCursor() with IsWindowUnderCursor(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Null checks 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: ui/gfx/screen_mac.mm
diff --git a/ui/gfx/screen_mac.mm b/ui/gfx/screen_mac.mm
index b33af2da12999480b719b605020583ba306958bc..54e7aadc17e0ab8163ce06bb0066e6d7e2907f8d 100644
--- a/ui/gfx/screen_mac.mm
+++ b/ui/gfx/screen_mac.mm
@@ -95,9 +95,9 @@ class ScreenMac : public gfx::Screen {
return gfx::ScreenPointFromNSPoint([NSEvent mouseLocation]);
}
- gfx::NativeWindow GetWindowUnderCursor() override {
+ bool IsWindowUnderCursor(gfx::NativeWindow window) override {
NOTIMPLEMENTED();
- return gfx::NativeWindow();
+ return false;
}
gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) override {
« no previous file with comments | « ui/gfx/screen_ios.mm ('k') | ui/gfx/test/test_screen.h » ('j') | ui/views/mus/screen_mus.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698