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

Unified Diff: ash/sticky_keys/sticky_keys_controller.h

Issue 227113009: Fix sticky keys crash when handling synthetic events without a native event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: got reverted for a clang compile warning Created 6 years, 8 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 | « no previous file | ash/sticky_keys/sticky_keys_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/sticky_keys/sticky_keys_controller.h
diff --git a/ash/sticky_keys/sticky_keys_controller.h b/ash/sticky_keys/sticky_keys_controller.h
index 792f2c58b0b32dbba3dc133f0ab8ee987ae14400..c9c158015fc0003079793085afc04058bfc74e62 100644
--- a/ash/sticky_keys/sticky_keys_controller.h
+++ b/ash/sticky_keys/sticky_keys_controller.h
@@ -147,15 +147,18 @@ class ASH_EXPORT StickyKeysHandler {
StickyKeysHandlerDelegate();
virtual ~StickyKeysHandlerDelegate();
- // Dispatches keyboard event synchronously.
+ // Dispatches keyboard event synchronously. |event| is an event that has
+ // been previously dispatched.
virtual void DispatchKeyEvent(ui::KeyEvent* event,
aura::Window* target) = 0;
- // Dispatches mouse event synchronously.
+ // Dispatches mouse event synchronously. |event| is an event that has
+ // been previously dispatched.
virtual void DispatchMouseEvent(ui::MouseEvent* event,
aura::Window* target) = 0;
- // Dispatches scroll event synchronously.
+ // Dispatches scroll event synchronously. |event| is an event that has
+ // been previously dispatched.
virtual void DispatchScrollEvent(ui::ScrollEvent* event,
aura::Window* target) = 0;
};
« no previous file with comments | « no previous file | ash/sticky_keys/sticky_keys_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698