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

Side by Side Diff: content/browser/renderer_host/input/motion_event_web_unittest.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 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.
6 #define _USE_MATH_DEFINES
7
8 #include <stddef.h> 5 #include <stddef.h>
9 6
10 #include <cmath> 7 #include <cmath>
11 8
12 #include "content/browser/renderer_host/input/motion_event_web.h" 9 #include "content/browser/renderer_host/input/motion_event_web.h"
13 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
14 #include "ui/events/blink/blink_event_util.h" 11 #include "ui/events/blink/blink_event_util.h"
15 #include "ui/events/gesture_detection/motion_event_generic.h" 12 #include "ui/events/gesture_detection/motion_event_generic.h"
16 #include "ui/events/test/motion_event_test_utils.h" 13 #include "ui/events/test/motion_event_test_utils.h"
17 14
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 EXPECT_NEAR(fmod(orientation + M_PI + 1e-4, M_PI_2) - 1e-4, 72 EXPECT_NEAR(fmod(orientation + M_PI + 1e-4, M_PI_2) - 1e-4,
76 event.GetOrientation(pointer_index), 1e-4); 73 event.GetOrientation(pointer_index), 1e-4);
77 } 74 }
78 75
79 generic_event.RemovePointerAt(pointer_index); 76 generic_event.RemovePointerAt(pointer_index);
80 } 77 }
81 } 78 }
82 } 79 }
83 80
84 } // namespace content 81 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698