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

Unified Diff: ui/gfx/screen_win.cc

Issue 1433153002: Ignore update cursor messages from blink when the cursor position lies outside our root window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace NULL with nullptr Created 5 years, 1 month 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/gfx/screen_win.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/screen_win.cc
diff --git a/ui/gfx/screen_win.cc b/ui/gfx/screen_win.cc
index f01d40aa833d8a48a92e56ebe3311a8b784b3c40..0378fd5ba1154a9acd07dcecde42eb0d8ed7d8f3 100644
--- a/ui/gfx/screen_win.cc
+++ b/ui/gfx/screen_win.cc
@@ -94,6 +94,16 @@ ScreenWin::ScreenWin()
ScreenWin::~ScreenWin() {}
+HWND ScreenWin::GetHWNDFromNativeView(NativeView window) const {
+ NOTREACHED();
+ return NULL;
+}
+
+NativeWindow ScreenWin::GetNativeWindowFromHWND(HWND hwnd) const {
+ NOTREACHED();
+ return NULL;
+}
+
gfx::Point ScreenWin::GetCursorScreenPoint() {
POINT pt;
GetCursorPos(&pt);
@@ -190,14 +200,4 @@ void ScreenWin::OnWndProc(HWND hwnd,
change_notifier_.NotifyDisplaysChanged(old_displays, displays_);
}
-HWND ScreenWin::GetHWNDFromNativeView(NativeView window) const {
- NOTREACHED();
- return NULL;
-}
-
-NativeWindow ScreenWin::GetNativeWindowFromHWND(HWND hwnd) const {
- NOTREACHED();
- return NULL;
-}
-
} // namespace gfx
« no previous file with comments | « ui/gfx/screen_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698