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

Unified Diff: ui/aura/client/aura_constants.h

Issue 1565013002: Don't send touch events to windows like menus when the touch occurs outside the menu bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove include Created 4 years, 11 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/aura/client/aura_constants.h
diff --git a/ui/aura/client/aura_constants.h b/ui/aura/client/aura_constants.h
index 5999b850978c4f64c533ad574982aedddf71d6de..64c1976f12f11556c89a283ec3770e8a950bd8ad 100644
--- a/ui/aura/client/aura_constants.h
+++ b/ui/aura/client/aura_constants.h
@@ -48,6 +48,11 @@ AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey;
// A property key to store the window modality.
AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey;
+// A property key to store whether it is ok to release capture for a window
+// if a touch happens outside its bounds.
+AURA_EXPORT extern const WindowProperty<bool>* const
+ kReleaseCaptureOnTouchOutside;
+
// A property key to store the restore bounds for a window.
AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey;
« no previous file with comments | « no previous file | ui/aura/client/aura_constants.cc » ('j') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698