| OLD | NEW |
| 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 "content/renderer/input/input_handler_proxy.h" | 5 #include "content/renderer/input/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 "cc/base/swap_promise_monitor.h" | 9 #include "cc/trees/swap_promise_monitor.h" |
| 10 #include "content/common/input/did_overscroll_params.h" | 10 #include "content/common/input/did_overscroll_params.h" |
| 11 #include "content/renderer/input/input_handler_proxy_client.h" | 11 #include "content/renderer/input/input_handler_proxy_client.h" |
| 12 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 14 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 14 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
| 15 #include "third_party/WebKit/public/platform/WebFloatSize.h" | 15 #include "third_party/WebKit/public/platform/WebFloatSize.h" |
| 16 #include "third_party/WebKit/public/platform/WebGestureCurve.h" | 16 #include "third_party/WebKit/public/platform/WebGestureCurve.h" |
| 17 #include "third_party/WebKit/public/platform/WebPoint.h" | 17 #include "third_party/WebKit/public/platform/WebPoint.h" |
| 18 #include "third_party/WebKit/public/web/WebInputEvent.h" | 18 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 19 #include "ui/events/latency_info.h" | 19 #include "ui/events/latency_info.h" |
| (...skipping 2106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2126 EXPECT_CALL(mock_input_handler_, SetNeedsAnimate()); | 2126 EXPECT_CALL(mock_input_handler_, SetNeedsAnimate()); |
| 2127 EXPECT_CALL(mock_client, DidAnimateForInput()); | 2127 EXPECT_CALL(mock_client, DidAnimateForInput()); |
| 2128 base::TimeTicks time = base::TimeTicks() + base::TimeDelta::FromSeconds(10); | 2128 base::TimeTicks time = base::TimeTicks() + base::TimeDelta::FromSeconds(10); |
| 2129 input_handler_->Animate(time); | 2129 input_handler_->Animate(time); |
| 2130 | 2130 |
| 2131 testing::Mock::VerifyAndClearExpectations(&mock_client); | 2131 testing::Mock::VerifyAndClearExpectations(&mock_client); |
| 2132 } | 2132 } |
| 2133 | 2133 |
| 2134 } // namespace | 2134 } // namespace |
| 2135 } // namespace content | 2135 } // namespace content |
| OLD | NEW |