summaryrefslogtreecommitdiffstats
path: root/chrome/common/native_web_keyboard_event_win.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-17 06:06:12 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-17 06:06:12 +0000
commit4dd5793c22cc4e9991055adcb4e7163fbba8c246 (patch)
treefb2307f59725643e4c4ce8d4f215188fd8920bdd /chrome/common/native_web_keyboard_event_win.cc
parent7e06cb9f6a1bfd890eebd08195a903a58912cdc9 (diff)
downloadchromium_src-4dd5793c22cc4e9991055adcb4e7163fbba8c246.zip
chromium_src-4dd5793c22cc4e9991055adcb4e7163fbba8c246.tar.gz
chromium_src-4dd5793c22cc4e9991055adcb4e7163fbba8c246.tar.bz2
Move the remaining files in chrome\common to content\common.
TBR=avi Review URL: http://codereview.chromium.org/6672070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78516 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/native_web_keyboard_event_win.cc')
-rw-r--r--chrome/common/native_web_keyboard_event_win.cc54
1 files changed, 0 insertions, 54 deletions
diff --git a/chrome/common/native_web_keyboard_event_win.cc b/chrome/common/native_web_keyboard_event_win.cc
deleted file mode 100644
index 3f03d28..0000000
--- a/chrome/common/native_web_keyboard_event_win.cc
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright (c) 2009 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 "chrome/common/native_web_keyboard_event.h"
-
-#include "third_party/WebKit/Source/WebKit/chromium/public/win/WebInputEventFactory.h"
-
-using WebKit::WebInputEventFactory;
-using WebKit::WebKeyboardEvent;
-
-NativeWebKeyboardEvent::NativeWebKeyboardEvent()
- : skip_in_browser(false) {
- memset(&os_event, 0, sizeof(os_event));
-}
-
-NativeWebKeyboardEvent::NativeWebKeyboardEvent(
- HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam)
- : WebKeyboardEvent(
- WebInputEventFactory::keyboardEvent(hwnd, message, wparam, lparam)),
- skip_in_browser(false) {
- os_event.hwnd = hwnd;
- os_event.message = message;
- os_event.wParam = wparam;
- os_event.lParam = lparam;
-}
-
-NativeWebKeyboardEvent::NativeWebKeyboardEvent(
- const NativeWebKeyboardEvent& other)
- : WebKeyboardEvent(other),
- skip_in_browser(other.skip_in_browser) {
- os_event.hwnd = other.os_event.hwnd;
- os_event.message = other.os_event.message;
- os_event.wParam = other.os_event.wParam;
- os_event.lParam = other.os_event.lParam;
-}
-
-NativeWebKeyboardEvent& NativeWebKeyboardEvent::operator=(
- const NativeWebKeyboardEvent& other) {
- WebKeyboardEvent::operator=(other);
-
- os_event.hwnd = other.os_event.hwnd;
- os_event.message = other.os_event.message;
- os_event.wParam = other.os_event.wParam;
- os_event.lParam = other.os_event.lParam;
-
- skip_in_browser = other.skip_in_browser;
-
- return *this;
-}
-
-NativeWebKeyboardEvent::~NativeWebKeyboardEvent() {
- // Noop under windows
-}