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); |
}; |