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

Unified Diff: ui/aura/event.h

Issue 8576005: IME (input method editor) support for Aura, part 3 of 3: Use ui::InputMethod in ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fixes Created 9 years 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/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);

Powered by Google App Engine
This is Rietveld 408576698