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

Side by Side Diff: ui/events/blink/web_input_event.h

Issue 2234023002: Refactor WebInputEventAura to ui/events/blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
sadrul 2016/08/15 15:55:13 Update
jonross 2016/08/16 15:25:16 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_EVENTS_BLINK_WEB_INPUT_EVENT_AURA_H_
6 #define UI_EVENTS_BLINK_WEB_INPUT_EVENT_AURA_H_
7
8 #include "base/callback.h"
9 #include "third_party/WebKit/public/platform/WebInputEvent.h"
10
11 namespace gfx {
12 class Point;
13 }
14
15 namespace ui {
16 class GestureEvent;
17 class KeyEvent;
18 class LocatedEvent;
19 class MouseEvent;
20 class MouseWheelEvent;
21 class ScrollEvent;
22 class TouchEvent;
23
24 blink::WebMouseEvent MakeWebMouseEvent(
25 const MouseEvent& event,
26 const base::Callback<gfx::Point(const ui::LocatedEvent& event)>&
27 screen_location_callback);
sadrul 2016/08/15 15:55:12 Document the callback. Leave a TODO here that the
jonross 2016/08/16 15:25:16 Done.
28 blink::WebMouseWheelEvent MakeWebMouseWheelEvent(
29 const MouseWheelEvent& event,
30 const base::Callback<gfx::Point(const ui::LocatedEvent& event)>&
31 screen_location_callback);
32 blink::WebMouseWheelEvent MakeWebMouseWheelEvent(
33 const ScrollEvent& event,
34 const base::Callback<gfx::Point(const ui::LocatedEvent& event)>&
35 screen_location_callback);
36 blink::WebKeyboardEvent MakeWebKeyboardEvent(const KeyEvent& event);
37 blink::WebGestureEvent MakeWebGestureEvent(
38 const GestureEvent& event,
39 const base::Callback<gfx::Point(const ui::LocatedEvent& event)>&
40 screen_location_callback);
41 blink::WebGestureEvent MakeWebGestureEvent(
42 const ScrollEvent& event,
43 const base::Callback<gfx::Point(const ui::LocatedEvent& event)>&
44 screen_location_callback);
45 blink::WebGestureEvent MakeWebGestureEventFlingCancel();
46
47 } // namespace ui
48
49 #endif // CONTENT_BROWSER_RENDERER_HOST_WEB_INPUT_EVENT_AURA_H_
sadrul 2016/08/15 15:55:12 Update (tools/git/mass-rename.sh should normally a
jonross 2016/08/16 15:25:16 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698