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

Unified Diff: views/event.h

Issue 5857002: no native implementation of Textfield. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 10 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: views/event.h
diff --git a/views/event.h b/views/event.h
index 1ec666d2046f790d8fb6141231c4fe801e11347e..b894614d7b453cc26a18f8cdab04de8cf5c867b3 100644
--- a/views/event.h
+++ b/views/event.h
@@ -332,7 +332,8 @@ class KeyEvent : public Event {
int repeat_count,
int message_flags);
#if defined(OS_LINUX)
rjkroege 2010/12/15 21:23:31 and !touchui
oshima 2010/12/16 01:15:19 touch still need this to compile
- explicit KeyEvent(GdkEventKey* event);
+ explicit KeyEvent(const GdkEventKey* event);
+ const GdkEventKey* native_event() const { return native_event_; }
#endif
#if defined(TOUCH_UI)
@@ -366,7 +367,9 @@ class KeyEvent : public Event {
app::KeyboardCode key_code_;
int repeat_count_;
int message_flags_;
-
+#if defined(OS_LINUX)
rjkroege 2010/12/15 21:23:31 and !touchui
+ const GdkEventKey* native_event_;
+#endif
DISALLOW_COPY_AND_ASSIGN(KeyEvent);
};

Powered by Google App Engine
This is Rietveld 408576698