OLD | NEW |
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 #include "chrome/common/native_web_keyboard_event.h" | 5 #include "content/common/native_web_keyboard_event.h" |
6 | 6 |
7 #include <gdk/gdk.h> | 7 #include <gdk/gdk.h> |
8 | 8 |
9 #include "third_party/WebKit/Source/WebKit/chromium/public/gtk/WebInputEventFact
ory.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/gtk/WebInputEventFact
ory.h" |
10 | 10 |
11 using WebKit::WebInputEventFactory; | 11 using WebKit::WebInputEventFactory; |
12 | 12 |
13 namespace { | 13 namespace { |
14 | 14 |
15 void CopyEventTo(const GdkEventKey* in, GdkEventKey** out) { | 15 void CopyEventTo(const GdkEventKey* in, GdkEventKey** out) { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 skip_in_browser = other.skip_in_browser; | 73 skip_in_browser = other.skip_in_browser; |
74 match_edit_command = other.match_edit_command; | 74 match_edit_command = other.match_edit_command; |
75 | 75 |
76 return *this; | 76 return *this; |
77 } | 77 } |
78 | 78 |
79 NativeWebKeyboardEvent::~NativeWebKeyboardEvent() { | 79 NativeWebKeyboardEvent::~NativeWebKeyboardEvent() { |
80 FreeEvent(os_event); | 80 FreeEvent(os_event); |
81 } | 81 } |
OLD | NEW |