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

Unified Diff: ui/base/events/event_constants.h

Issue 10911256: Change the way the ToplevelEventHandler is hooked up. It is now both a pre- and post-target event h… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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
« ui/base/events/event.cc ('K') | « ui/base/events/event.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/events/event_constants.h
===================================================================
--- ui/base/events/event_constants.h (revision 156300)
+++ ui/base/events/event_constants.h (working copy)
@@ -227,6 +227,10 @@
// Creates and returns no-op event.
UI_EXPORT base::NativeEvent CreateNoopEvent();
+// Returns true if default post-target handling was canceled for |event| after
+// its dispatch to its target.
+UI_EXPORT bool EventCanceledDefaultHandling(const ui::Event& event);
+
#if defined(OS_WIN)
UI_EXPORT int GetModifiersFromACCEL(const ACCEL& accel);
UI_EXPORT int GetModifiersFromKeyState();
« ui/base/events/event.cc ('K') | « ui/base/events/event.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698