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

Side by Side Diff: chrome/common/native_web_keyboard_event_win.cc

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « chrome/common/native_web_keyboard_event_mac.mm ('k') | chrome/common/plugin_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "chrome/common/native_web_keyboard_event.h"
6 6
7 #include "webkit/api/public/win/WebInputEventFactory.h" 7 #include "third_party/WebKit/WebKit/chromium/public/win/WebInputEventFactory.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 memset(&os_event, 0, sizeof(os_event)); 13 memset(&os_event, 0, sizeof(os_event));
14 } 14 }
15 15
16 NativeWebKeyboardEvent::NativeWebKeyboardEvent( 16 NativeWebKeyboardEvent::NativeWebKeyboardEvent(
17 HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) 17 HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam)
(...skipping 21 matching lines...) Expand all
39 os_event.hwnd = other.os_event.hwnd; 39 os_event.hwnd = other.os_event.hwnd;
40 os_event.message = other.os_event.message; 40 os_event.message = other.os_event.message;
41 os_event.wParam = other.os_event.wParam; 41 os_event.wParam = other.os_event.wParam;
42 os_event.lParam = other.os_event.lParam; 42 os_event.lParam = other.os_event.lParam;
43 return *this; 43 return *this;
44 } 44 }
45 45
46 NativeWebKeyboardEvent::~NativeWebKeyboardEvent() { 46 NativeWebKeyboardEvent::~NativeWebKeyboardEvent() {
47 // Noop under windows 47 // Noop under windows
48 } 48 }
OLDNEW
« no previous file with comments | « chrome/common/native_web_keyboard_event_mac.mm ('k') | chrome/common/plugin_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698