OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/public/browser/native_web_keyboard_event.h" | 5 #include "content/public/browser/native_web_keyboard_event.h" |
6 | 6 |
7 #include "content/browser/renderer_host/input/web_input_event_builders_win.h" | 7 #include "content/browser/renderer_host/input/web_input_event_builders_win.h" |
8 | 8 |
9 using WebKit::WebKeyboardEvent; | 9 using blink::WebKeyboardEvent; |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 NativeWebKeyboardEvent::NativeWebKeyboardEvent() | 13 NativeWebKeyboardEvent::NativeWebKeyboardEvent() |
14 : skip_in_browser(false) { | 14 : skip_in_browser(false) { |
15 memset(&os_event, 0, sizeof(os_event)); | 15 memset(&os_event, 0, sizeof(os_event)); |
16 } | 16 } |
17 | 17 |
18 NativeWebKeyboardEvent::NativeWebKeyboardEvent(gfx::NativeEvent native_event) | 18 NativeWebKeyboardEvent::NativeWebKeyboardEvent(gfx::NativeEvent native_event) |
19 : WebKeyboardEvent( | 19 : WebKeyboardEvent( |
(...skipping 20 matching lines...) Expand all Loading... |
40 skip_in_browser = other.skip_in_browser; | 40 skip_in_browser = other.skip_in_browser; |
41 | 41 |
42 return *this; | 42 return *this; |
43 } | 43 } |
44 | 44 |
45 NativeWebKeyboardEvent::~NativeWebKeyboardEvent() { | 45 NativeWebKeyboardEvent::~NativeWebKeyboardEvent() { |
46 // Noop under windows | 46 // Noop under windows |
47 } | 47 } |
48 | 48 |
49 } // namespace content | 49 } // namespace content |
OLD | NEW |