| 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 "third_party/WebKit/Source/WebKit/chromium/public/win/WebInputEventFact
ory.h" | 7 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebInputEventFact
ory.h" |
| 8 | 8 |
| 9 using WebKit::WebInputEventFactory; | 9 using WebKit::WebInputEventFactory; |
| 10 using WebKit::WebKeyboardEvent; | 10 using WebKit::WebKeyboardEvent; |
| 11 | 11 |
| 12 NativeWebKeyboardEvent::NativeWebKeyboardEvent() | 12 NativeWebKeyboardEvent::NativeWebKeyboardEvent() |
| 13 : skip_in_browser(false) { | 13 : skip_in_browser(false) { |
| 14 memset(&os_event, 0, sizeof(os_event)); | 14 memset(&os_event, 0, sizeof(os_event)); |
| 15 } | 15 } |
| (...skipping 29 matching lines...) Expand all Loading... |
| 45 os_event.lParam = other.os_event.lParam; | 45 os_event.lParam = other.os_event.lParam; |
| 46 | 46 |
| 47 skip_in_browser = other.skip_in_browser; | 47 skip_in_browser = other.skip_in_browser; |
| 48 | 48 |
| 49 return *this; | 49 return *this; |
| 50 } | 50 } |
| 51 | 51 |
| 52 NativeWebKeyboardEvent::~NativeWebKeyboardEvent() { | 52 NativeWebKeyboardEvent::~NativeWebKeyboardEvent() { |
| 53 // Noop under windows | 53 // Noop under windows |
| 54 } | 54 } |
| OLD | NEW |