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

Side by Side Diff: content/renderer/gpu/input_handler_proxy_unittest.cc

Issue 24257011: Revert "Revert 224496 "Move ui/base/latency_info* to ui/events"" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gyp bustage Created 7 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
« no previous file with comments | « content/renderer/gpu/input_handler_proxy.cc ('k') | ui/base/latency_info.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "content/renderer/gpu/input_handler_proxy.h" 5 #include "content/renderer/gpu/input_handler_proxy.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/renderer/gpu/input_handler_proxy_client.h" 9 #include "content/renderer/gpu/input_handler_proxy_client.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "third_party/WebKit/public/platform/WebFloatPoint.h" 12 #include "third_party/WebKit/public/platform/WebFloatPoint.h"
13 #include "third_party/WebKit/public/platform/WebFloatSize.h" 13 #include "third_party/WebKit/public/platform/WebFloatSize.h"
14 #include "third_party/WebKit/public/platform/WebGestureCurve.h" 14 #include "third_party/WebKit/public/platform/WebGestureCurve.h"
15 #include "third_party/WebKit/public/platform/WebPoint.h" 15 #include "third_party/WebKit/public/platform/WebPoint.h"
16 #include "third_party/WebKit/public/web/WebInputEvent.h" 16 #include "third_party/WebKit/public/web/WebInputEvent.h"
17 #include "ui/base/latency_info.h" 17 #include "ui/events/latency_info.h"
18 18
19 using WebKit::WebActiveWheelFlingParameters; 19 using WebKit::WebActiveWheelFlingParameters;
20 using WebKit::WebFloatPoint; 20 using WebKit::WebFloatPoint;
21 using WebKit::WebFloatSize; 21 using WebKit::WebFloatSize;
22 using WebKit::WebGestureEvent; 22 using WebKit::WebGestureEvent;
23 using WebKit::WebInputEvent; 23 using WebKit::WebInputEvent;
24 using WebKit::WebMouseWheelEvent; 24 using WebKit::WebMouseWheelEvent;
25 using WebKit::WebPoint; 25 using WebKit::WebPoint;
26 using WebKit::WebSize; 26 using WebKit::WebSize;
27 27
(...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 testing::Property(&gfx::Vector2dF::y, testing::Eq(0)))) 1012 testing::Property(&gfx::Vector2dF::y, testing::Eq(0))))
1013 .WillOnce(testing::Return(true)); 1013 .WillOnce(testing::Return(true));
1014 EXPECT_CALL(mock_input_handler_, ScrollEnd()); 1014 EXPECT_CALL(mock_input_handler_, ScrollEnd());
1015 time += base::TimeDelta::FromMilliseconds(100); 1015 time += base::TimeDelta::FromMilliseconds(100);
1016 input_handler_->Animate(time); 1016 input_handler_->Animate(time);
1017 testing::Mock::VerifyAndClearExpectations(&mock_input_handler_); 1017 testing::Mock::VerifyAndClearExpectations(&mock_input_handler_);
1018 } 1018 }
1019 1019
1020 } // namespace 1020 } // namespace
1021 } // namespace content 1021 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/gpu/input_handler_proxy.cc ('k') | ui/base/latency_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698