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

Side by Side Diff: chrome/common/native_web_keyboard_event.h

Issue 126118: Integrating GtkIMContext into the RenderWidgetHostViewGtk class.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 months 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ 5 #ifndef CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_
6 #define CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ 6 #define CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "webkit/api/public/WebInputEvent.h" 9 #include "webkit/api/public/WebInputEvent.h"
10 10
(...skipping 13 matching lines...) Expand all
24 // platform independent code. 24 // platform independent code.
25 struct NativeWebKeyboardEvent : public WebKit::WebKeyboardEvent { 25 struct NativeWebKeyboardEvent : public WebKit::WebKeyboardEvent {
26 NativeWebKeyboardEvent(); 26 NativeWebKeyboardEvent();
27 27
28 #if defined(OS_WIN) 28 #if defined(OS_WIN)
29 NativeWebKeyboardEvent(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam); 29 NativeWebKeyboardEvent(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
30 #elif defined(OS_MACOSX) 30 #elif defined(OS_MACOSX)
31 explicit NativeWebKeyboardEvent(NSEvent *event); 31 explicit NativeWebKeyboardEvent(NSEvent *event);
32 #elif defined(OS_LINUX) 32 #elif defined(OS_LINUX)
33 explicit NativeWebKeyboardEvent(const GdkEventKey* event); 33 explicit NativeWebKeyboardEvent(const GdkEventKey* event);
34 NativeWebKeyboardEvent(wchar_t character, double time_stamp_seconds);
34 #endif 35 #endif
35 36
36 NativeWebKeyboardEvent(const NativeWebKeyboardEvent& event); 37 NativeWebKeyboardEvent(const NativeWebKeyboardEvent& event);
37 ~NativeWebKeyboardEvent(); 38 ~NativeWebKeyboardEvent();
38 39
39 NativeWebKeyboardEvent& operator=(const NativeWebKeyboardEvent& event); 40 NativeWebKeyboardEvent& operator=(const NativeWebKeyboardEvent& event);
40 41
41 #if defined(OS_WIN) 42 #if defined(OS_WIN)
42 MSG os_event; 43 MSG os_event;
43 #elif defined(OS_MACOSX) 44 #elif defined(OS_MACOSX)
44 NSEvent* os_event; 45 NSEvent* os_event;
45 #elif defined(OS_LINUX) 46 #elif defined(OS_LINUX)
46 GdkEventKey* os_event; 47 GdkEventKey* os_event;
47 #endif 48 #endif
48 }; 49 };
49 50
50 #endif // CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ 51 #endif // CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_gtk.cc ('k') | chrome/common/native_web_keyboard_event_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698