Index: ui/aura/event.h |
diff --git a/ui/aura/event.h b/ui/aura/event.h |
index 5dcb72666b0099601416b7704426210a6a30a10c..deb76bd4f09d431988e9d9192c0aa06e391848d4 100644 |
--- a/ui/aura/event.h |
+++ b/ui/aura/event.h |
@@ -37,6 +37,9 @@ class AURA_EXPORT Event { |
bool IsCapsLockDown() const { return (flags_ & ui::EF_CAPS_LOCK_DOWN) != 0; } |
bool IsAltDown() const { return (flags_ & ui::EF_ALT_DOWN) != 0; } |
+ // Returns true if the event has a valid |native_event_|. |
+ bool HasNativeEvent() const; |
+ |
protected: |
Event(ui::EventType type, int flags); |
Event(const base::NativeEvent& native_event, ui::EventType type, int flags); |