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

Side by Side Diff: ui/events/blink/blink_event_util.cc

Issue 2581943003: Move WebMouseWheelEvent into its own header file. (Closed)
Patch Set: Fix mac unittest Created 4 years 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 | « ui/events/blink/DEPS ('k') | ui/events/blink/input_handler_proxy.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // MSVC++ requires this to be set before any other includes to get M_PI. 5 // MSVC++ requires this to be set before any other includes to get M_PI.
6 #define _USE_MATH_DEFINES 6 #define _USE_MATH_DEFINES
7 7
8 #include "ui/events/blink/blink_event_util.h" 8 #include "ui/events/blink/blink_event_util.h"
9 9
10 #include <stddef.h> 10 #include <stddef.h>
11 11
12 #include <algorithm> 12 #include <algorithm>
13 #include <bitset> 13 #include <bitset>
14 #include <cmath> 14 #include <cmath>
15 #include <limits> 15 #include <limits>
16 16
17 #include "base/time/time.h" 17 #include "base/time/time.h"
18 #include "build/build_config.h" 18 #include "build/build_config.h"
19 #include "third_party/WebKit/public/platform/WebInputEvent.h" 19 #include "third_party/WebKit/public/platform/WebInputEvent.h"
20 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h"
20 #include "ui/events/base_event_utils.h" 21 #include "ui/events/base_event_utils.h"
21 #include "ui/events/event_constants.h" 22 #include "ui/events/event_constants.h"
22 #include "ui/events/gesture_detection/gesture_event_data.h" 23 #include "ui/events/gesture_detection/gesture_event_data.h"
23 #include "ui/events/gesture_detection/motion_event.h" 24 #include "ui/events/gesture_detection/motion_event.h"
24 #include "ui/events/gesture_event_details.h" 25 #include "ui/events/gesture_event_details.h"
25 #include "ui/events/keycodes/dom/keycode_converter.h" 26 #include "ui/events/keycodes/dom/keycode_converter.h"
26 #include "ui/gfx/geometry/safe_integer_conversions.h" 27 #include "ui/gfx/geometry/safe_integer_conversions.h"
27 #include "ui/gfx/geometry/vector2d.h" 28 #include "ui/gfx/geometry/vector2d.h"
28 #include "ui/gfx/transform.h" 29 #include "ui/gfx/transform.h"
29 30
(...skipping 931 matching lines...) Expand 10 before | Expand all | Expand 10 after
961 switch (type) { 962 switch (type) {
962 case blink::WebGestureEvent::GestureScrollUpdate: 963 case blink::WebGestureEvent::GestureScrollUpdate:
963 case blink::WebGestureEvent::GesturePinchUpdate: 964 case blink::WebGestureEvent::GesturePinchUpdate:
964 return true; 965 return true;
965 default: 966 default:
966 return false; 967 return false;
967 } 968 }
968 } 969 }
969 970
970 } // namespace ui 971 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/blink/DEPS ('k') | ui/events/blink/input_handler_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698