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

Unified Diff: ui/aura/root_window_host_delegate.h

Issue 11189148: desktop linux aura: Fix event/capture focus after dragging a window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows compile. Created 8 years, 2 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/aura/root_window.cc ('k') | ui/aura/root_window_host_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window_host_delegate.h
diff --git a/ui/aura/root_window_host_delegate.h b/ui/aura/root_window_host_delegate.h
index 907de9b525a0d76874d2c973d6efcc690d571dc5..7ca3dd7a0434764b4525d360a60ed0915eeab146 100644
--- a/ui/aura/root_window_host_delegate.h
+++ b/ui/aura/root_window_host_delegate.h
@@ -32,7 +32,12 @@ class AURA_EXPORT RootWindowHostDelegate {
virtual bool OnHostScrollEvent(ui::ScrollEvent* event) = 0;
virtual bool OnHostTouchEvent(ui::TouchEvent* event) = 0;
- virtual void OnHostLostCapture() = 0;
+ // Called when system focus is changed to another window.
+ virtual void OnHostLostWindowCapture() = 0;
+
+ // Called when the windowing system has mouse grab because it's performing a
+ // window move on our behalf, but we should still paint as if we're active.
+ virtual void OnHostLostMouseGrab() = 0;
virtual void OnHostPaint() = 0;
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/aura/root_window_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698