OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/public/browser/native_web_keyboard_event.h" |
| 6 |
| 7 namespace content { |
| 8 |
| 9 NativeWebKeyboardEvent::NativeWebKeyboardEvent() |
| 10 : os_event(NULL), |
| 11 skip_in_browser(false) { |
| 12 } |
| 13 |
| 14 NativeWebKeyboardEvent::NativeWebKeyboardEvent( |
| 15 const NativeWebKeyboardEvent& event) |
| 16 : WebKeyboardEvent(event), |
| 17 os_event(event.os_event), |
| 18 skip_in_browser(event.skip_in_browser) { |
| 19 } |
| 20 |
| 21 NativeWebKeyboardEvent& NativeWebKeyboardEvent::operator=( |
| 22 const NativeWebKeyboardEvent& other) { |
| 23 WebKeyboardEvent::operator=(other); |
| 24 |
| 25 os_event = other.os_event; |
| 26 skip_in_browser = other.skip_in_browser; |
| 27 |
| 28 return *this; |
| 29 } |
| 30 |
| 31 NativeWebKeyboardEvent::~NativeWebKeyboardEvent() { |
| 32 } |
| 33 |
| 34 } // namespace content |
OLD | NEW |