Chromium Code Reviews| Index: ui/events/base_event_utils.h |
| diff --git a/ui/events/base_event_utils.h b/ui/events/base_event_utils.h |
| index beef1f590ad758de0910c2861cdd01ef831a1a5d..9525a0f6a7dd9e7d9255f151c58a5a5e223b4692 100644 |
| --- a/ui/events/base_event_utils.h |
| +++ b/ui/events/base_event_utils.h |
| @@ -14,6 +14,11 @@ namespace ui { |
| // Generate an unique identifier for events. |
| EVENTS_BASE_EXPORT uint32 GetNextTouchEventId(); |
| +// Checks if |flags| contains system key modifiers. If |allow_altgr| is false |
| +// and AltGr is pressed, then |flags| is considered not to have any system |
| +// modifiers. |
| +EVENTS_BASE_EXPORT bool IsSystemKeyModifier(int flags, bool allow_altgr); |
|
kpschoedel
2015/09/04 18:06:13
I think the ‘allow_altgr’ parameter makes this har
afakhry
2015/09/04 18:26:35
I agree. Done.
|
| + |
| } // namespace ui |
| #endif // UI_EVENTS_BASE_EVENT_UTILS_H_ |