| Index: content/browser/renderer_host/native_web_keyboard_event_cast.cc
|
| diff --git a/content/browser/renderer_host/native_web_keyboard_event_cast.cc b/content/browser/renderer_host/native_web_keyboard_event_cast.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fbcdbc511cd2ec2ff10ca432390345e089cf5300
|
| --- /dev/null
|
| +++ b/content/browser/renderer_host/native_web_keyboard_event_cast.cc
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "content/public/browser/native_web_keyboard_event.h"
|
| +
|
| +namespace content {
|
| +
|
| +NativeWebKeyboardEvent::NativeWebKeyboardEvent()
|
| + : os_event(NULL),
|
| + skip_in_browser(false) {
|
| +}
|
| +
|
| +NativeWebKeyboardEvent::NativeWebKeyboardEvent(
|
| + const NativeWebKeyboardEvent& event)
|
| + : WebKeyboardEvent(event),
|
| + os_event(event.os_event),
|
| + skip_in_browser(event.skip_in_browser) {
|
| +}
|
| +
|
| +NativeWebKeyboardEvent& NativeWebKeyboardEvent::operator=(
|
| + const NativeWebKeyboardEvent& other) {
|
| + WebKeyboardEvent::operator=(other);
|
| +
|
| + os_event = other.os_event;
|
| + skip_in_browser = other.skip_in_browser;
|
| +
|
| + return *this;
|
| +}
|
| +
|
| +NativeWebKeyboardEvent::~NativeWebKeyboardEvent() {
|
| +}
|
| +
|
| +} // namespace content
|
|
|