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

Unified Diff: ui/gfx/screen_win.h

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/aura/test/test_screen.cc ('k') | ui/gfx/screen_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/screen_win.h
diff --git a/ui/gfx/screen_win.h b/ui/gfx/screen_win.h
index 9ece286e919750ac1e1ec8bf167d4548aeec364f..0705d12bd528d15b14692a7fbcaaad426d03677a 100644
--- a/ui/gfx/screen_win.h
+++ b/ui/gfx/screen_win.h
@@ -19,6 +19,12 @@ class GFX_EXPORT ScreenWin : public Screen {
ScreenWin();
~ScreenWin() override;
+ // Returns the HWND associated with the NativeView.
+ virtual HWND GetHWNDFromNativeView(NativeView window) const;
+
+ // Returns the NativeView associated with the HWND.
+ virtual NativeWindow GetNativeWindowFromHWND(HWND hwnd) const;
+
protected:
// Overridden from gfx::Screen:
gfx::Point GetCursorScreenPoint() override;
@@ -33,12 +39,6 @@ class GFX_EXPORT ScreenWin : public Screen {
void AddObserver(DisplayObserver* observer) override;
void RemoveObserver(DisplayObserver* observer) override;
- // Returns the HWND associated with the NativeView.
- virtual HWND GetHWNDFromNativeView(NativeView window) const;
-
- // Returns the NativeView associated with the HWND.
- virtual NativeWindow GetNativeWindowFromHWND(HWND hwnd) const;
-
private:
void OnWndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
« no previous file with comments | « ui/aura/test/test_screen.cc ('k') | ui/gfx/screen_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698