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

Side by Side Diff: content/renderer/device_orientation/device_motion_event_pump_unittest.cc

Issue 19620002: Use a direct include of the message_loop header in content/, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "device_motion_event_pump.h" 5 #include "device_motion_event_pump.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "content/common/device_motion_hardware_buffer.h" 10 #include "content/common/device_motion_hardware_buffer.h"
11 #include "content/public/test/test_utils.h" 11 #include "content/public/test/test_utils.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "third_party/WebKit/public/platform/WebDeviceMotionListener.h" 13 #include "third_party/WebKit/public/platform/WebDeviceMotionListener.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 class DeviceMotionEventPumpTest : public testing::Test { 17 class DeviceMotionEventPumpTest : public testing::Test {
18 }; 18 };
19 19
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 EXPECT_FALSE(received_data.hasAccelerationZ); 174 EXPECT_FALSE(received_data.hasAccelerationZ);
175 EXPECT_FALSE(received_data.hasAccelerationIncludingGravityX); 175 EXPECT_FALSE(received_data.hasAccelerationIncludingGravityX);
176 EXPECT_FALSE(received_data.hasAccelerationIncludingGravityY); 176 EXPECT_FALSE(received_data.hasAccelerationIncludingGravityY);
177 EXPECT_FALSE(received_data.hasAccelerationIncludingGravityZ); 177 EXPECT_FALSE(received_data.hasAccelerationIncludingGravityZ);
178 EXPECT_FALSE(received_data.hasRotationRateAlpha); 178 EXPECT_FALSE(received_data.hasRotationRateAlpha);
179 EXPECT_FALSE(received_data.hasRotationRateBeta); 179 EXPECT_FALSE(received_data.hasRotationRateBeta);
180 EXPECT_FALSE(received_data.hasRotationRateGamma); 180 EXPECT_FALSE(received_data.hasRotationRateGamma);
181 } 181 }
182 182
183 } // namespace content 183 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/device_orientation/device_motion_event_pump.cc ('k') | content/renderer/devtools/devtools_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698