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

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

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase Created 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef UI_EVENTS_BLINK_WEB_INPUT_EVENT_H_ 5 #ifndef UI_EVENTS_BLINK_WEB_INPUT_EVENT_H_
6 #define UI_EVENTS_BLINK_WEB_INPUT_EVENT_H_ 6 #define UI_EVENTS_BLINK_WEB_INPUT_EVENT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "third_party/WebKit/public/platform/WebGestureEvent.h"
9 #include "third_party/WebKit/public/platform/WebInputEvent.h" 10 #include "third_party/WebKit/public/platform/WebInputEvent.h"
10 11
11 namespace gfx { 12 namespace gfx {
12 class Point; 13 class Point;
13 } 14 }
14 15
15 namespace ui { 16 namespace ui {
16 class GestureEvent; 17 class GestureEvent;
17 class KeyEvent; 18 class KeyEvent;
18 class LocatedEvent; 19 class LocatedEvent;
(...skipping 30 matching lines...) Expand all
49 screen_location_callback); 50 screen_location_callback);
50 blink::WebGestureEvent MakeWebGestureEvent( 51 blink::WebGestureEvent MakeWebGestureEvent(
51 const ScrollEvent& event, 52 const ScrollEvent& event,
52 const base::Callback<gfx::Point(const ui::LocatedEvent& event)>& 53 const base::Callback<gfx::Point(const ui::LocatedEvent& event)>&
53 screen_location_callback); 54 screen_location_callback);
54 blink::WebGestureEvent MakeWebGestureEventFlingCancel(); 55 blink::WebGestureEvent MakeWebGestureEventFlingCancel();
55 56
56 } // namespace ui 57 } // namespace ui
57 58
58 #endif // UI_EVENTS_BLINK_WEB_INPUT_EVENT_H_ 59 #endif // UI_EVENTS_BLINK_WEB_INPUT_EVENT_H_
OLDNEW
« no previous file with comments | « ui/events/blink/input_scroll_elasticity_controller.h ('k') | ui/events/blink/web_input_event_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698