Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4996)

Unified Diff: chrome/common/native_web_keyboard_event_win.cc

Issue 6672070: Move the remaining files in chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/native_web_keyboard_event_mac.mm ('k') | chrome/common/navigation_gesture.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/native_web_keyboard_event_win.cc
===================================================================
--- chrome/common/native_web_keyboard_event_win.cc (revision 78506)
+++ chrome/common/native_web_keyboard_event_win.cc (working copy)
@@ -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
-}
« no previous file with comments | « chrome/common/native_web_keyboard_event_mac.mm ('k') | chrome/common/navigation_gesture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698