Chromium Code Reviews| Index: webkit/glue/webinputevent.h |
| diff --git a/webkit/glue/webinputevent.h b/webkit/glue/webinputevent.h |
| index 9a1c84ddec760500517f75b3c22035ef011a2621..c8099c8fcddb79dce179a289180cfcaa259c7df8 100644 |
| --- a/webkit/glue/webinputevent.h |
| +++ b/webkit/glue/webinputevent.h |
| @@ -19,6 +19,7 @@ class NSEvent; |
| class NSView; |
| #endif // __OBJC__ |
| #elif defined(OS_LINUX) |
| +#include <glib.h> |
| typedef struct _GdkEventButton GdkEventButton; |
| typedef struct _GdkEventMotion GdkEventMotion; |
| typedef struct _GdkEventScroll GdkEventScroll; |
| @@ -148,6 +149,12 @@ class WebKeyboardEvent : public WebInputEvent { |
| // to stuff everything into key_code, or make this field shared by all |
| // implementations, but this will have to do for now. |
| wchar_t text; |
| + |
| + // Stores the GDK keyval and modifier state of the GdkEventKey; this is used |
| + // to transport these values across IPC so they can be used in the front end |
| + // code. |
| + guint gdk_keyval; |
| + guint gdk_modifier; |
|
Avi (use Gerrit)
2009/02/25 22:38:40
How is this different from the existing modifier i
darin (slow to review)
2009/02/26 04:16:55
yeah, i don't understand this either. PlatformKey
|
| #endif |
| WebKeyboardEvent() |