| OLD | NEW |
| 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 #include "ui/views/animation/test/test_ink_drop_host.h" | 5 #include "ui/views/animation/test/test_ink_drop_host.h" |
| 6 | 6 |
| 7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
| 8 #include "ui/gfx/geometry/size.h" | 8 #include "ui/gfx/geometry/size.h" |
| 9 #include "ui/views/animation/ink_drop_highlight.h" | 9 #include "ui/views/animation/ink_drop_highlight.h" |
| 10 #include "ui/views/animation/square_ink_drop_ripple.h" | 10 #include "ui/views/animation/square_ink_drop_ripple.h" |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 std::unique_ptr<InkDropHighlight> highlight; | 112 std::unique_ptr<InkDropHighlight> highlight; |
| 113 if (should_show_highlight_) { | 113 if (should_show_highlight_) { |
| 114 highlight.reset(new TestInkDropHighlight(gfx::Size(10, 10), 4, | 114 highlight.reset(new TestInkDropHighlight(gfx::Size(10, 10), 4, |
| 115 gfx::PointF(), SK_ColorBLACK)); | 115 gfx::PointF(), SK_ColorBLACK)); |
| 116 if (disable_timers_for_test_) | 116 if (disable_timers_for_test_) |
| 117 highlight->GetTestApi()->SetDisableAnimationTimers(true); | 117 highlight->GetTestApi()->SetDisableAnimationTimers(true); |
| 118 } | 118 } |
| 119 return highlight; | 119 return highlight; |
| 120 } | 120 } |
| 121 | 121 |
| 122 void TestInkDropHost::OffsetInkDropRipple(const gfx::Vector2d& offset) {} |
| 123 |
| 122 } // namespace views | 124 } // namespace views |
| OLD | NEW |