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

Side by Side Diff: content/browser/renderer_host/input/motion_event_web.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.
6 #define _USE_MATH_DEFINES
7
8 #include "content/browser/renderer_host/input/motion_event_web.h" 5 #include "content/browser/renderer_host/input/motion_event_web.h"
9 6
10 #include <cmath> 7 #include <cmath>
11 8
12 #include "base/logging.h" 9 #include "base/logging.h"
13 #include "content/common/input/web_touch_event_traits.h" 10 #include "content/common/input/web_touch_event_traits.h"
14 #include "ui/events/blink/blink_event_util.h" 11 #include "ui/events/blink/blink_event_util.h"
15 12
16 using blink::WebInputEvent; 13 using blink::WebInputEvent;
17 using blink::WebPointerProperties; 14 using blink::WebPointerProperties;
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 213
217 int MotionEventWeb::GetButtonState() const { 214 int MotionEventWeb::GetButtonState() const {
218 return 0; 215 return 0;
219 } 216 }
220 217
221 int MotionEventWeb::GetFlags() const { 218 int MotionEventWeb::GetFlags() const {
222 return ui::WebEventModifiersToEventFlags(event_.GetModifiers()); 219 return ui::WebEventModifiersToEventFlags(event_.GetModifiers());
223 } 220 }
224 221
225 } // namespace content 222 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698