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

Side by Side Diff: content/browser/renderer_host/web_input_event_aura.cc

Issue 10917075: events: Move some files into ui/base/events/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/browser/renderer_host/web_input_event_aura.h" 5 #include "content/browser/renderer_host/web_input_event_aura.h"
6 6
7 #include "ui/aura/window.h" 7 #include "ui/aura/window.h"
8 #include "ui/base/event.h" 8 #include "ui/base/events/event.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 #if defined(OS_WIN) 12 #if defined(OS_WIN)
13 WebKit::WebMouseEvent MakeUntranslatedWebMouseEventFromNativeEvent( 13 WebKit::WebMouseEvent MakeUntranslatedWebMouseEventFromNativeEvent(
14 base::NativeEvent native_event); 14 base::NativeEvent native_event);
15 WebKit::WebMouseWheelEvent MakeUntranslatedWebMouseWheelEventFromNativeEvent( 15 WebKit::WebMouseWheelEvent MakeUntranslatedWebMouseWheelEventFromNativeEvent(
16 base::NativeEvent native_event); 16 base::NativeEvent native_event);
17 WebKit::WebKeyboardEvent MakeWebKeyboardEventFromNativeEvent( 17 WebKit::WebKeyboardEvent MakeWebKeyboardEventFromNativeEvent(
18 base::NativeEvent native_event); 18 base::NativeEvent native_event);
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 WebKit::WebTouchPoint* UpdateWebTouchEvent(ui::TouchEvent* event, 187 WebKit::WebTouchPoint* UpdateWebTouchEvent(ui::TouchEvent* event,
188 WebKit::WebTouchEvent* web_event) { 188 WebKit::WebTouchEvent* web_event) {
189 #if defined(OS_WIN) 189 #if defined(OS_WIN)
190 return UpdateWebTouchEventFromNativeEvent(event->native_event(), web_event); 190 return UpdateWebTouchEventFromNativeEvent(event->native_event(), web_event);
191 #else 191 #else
192 return UpdateWebTouchEventFromAuraEvent(event, web_event); 192 return UpdateWebTouchEventFromAuraEvent(event, web_event);
193 #endif 193 #endif
194 } 194 }
195 195
196 } // namespace content 196 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698