| 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 #ifndef UI_VIEWS_ANIMATION_INK_DROP_HIGHLIGHT_H_ | 5 #ifndef UI_VIEWS_ANIMATION_INK_DROP_HIGHLIGHT_H_ |
| 6 #define UI_VIEWS_ANIMATION_INK_DROP_HIGHLIGHT_H_ | 6 #define UI_VIEWS_ANIMATION_INK_DROP_HIGHLIGHT_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 13 #include "third_party/skia/include/core/SkColor.h" | 13 #include "third_party/skia/include/core/SkColor.h" |
| 14 #include "ui/gfx/geometry/point.h" | 14 #include "ui/gfx/geometry/point.h" |
| 15 #include "ui/gfx/geometry/point_f.h" | 15 #include "ui/gfx/geometry/point_f.h" |
| 16 #include "ui/gfx/geometry/size.h" | 16 #include "ui/gfx/geometry/size.h" |
| 17 #include "ui/gfx/transform.h" | 17 #include "ui/gfx/transform.h" |
| 18 #include "ui/views/views_export.h" | 18 #include "ui/views/views_export.h" |
| 19 | 19 |
| 20 namespace gfx { | |
| 21 class Rect; | |
| 22 } | |
| 23 | |
| 24 namespace ui { | 20 namespace ui { |
| 25 class Layer; | 21 class Layer; |
| 26 class CallbackLayerAnimationObserver; | 22 class CallbackLayerAnimationObserver; |
| 27 } // namespace ui | 23 } // namespace ui |
| 28 | 24 |
| 29 namespace views { | 25 namespace views { |
| 30 namespace test { | 26 namespace test { |
| 31 class InkDropHighlightTestApi; | 27 class InkDropHighlightTestApi; |
| 32 } // namespace test | 28 } // namespace test |
| 33 | 29 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 138 |
| 143 // This is declared here for use in gtest-based unit tests but is defined in | 139 // This is declared here for use in gtest-based unit tests but is defined in |
| 144 // the views_test_support target. Depend on that to use this in your unit test. | 140 // the views_test_support target. Depend on that to use this in your unit test. |
| 145 // This should not be used in production code - call ToString() instead. | 141 // This should not be used in production code - call ToString() instead. |
| 146 void PrintTo(InkDropHighlight::AnimationType animation_type, | 142 void PrintTo(InkDropHighlight::AnimationType animation_type, |
| 147 ::std::ostream* os); | 143 ::std::ostream* os); |
| 148 | 144 |
| 149 } // namespace views | 145 } // namespace views |
| 150 | 146 |
| 151 #endif // UI_VIEWS_ANIMATION_INK_DROP_HIGHLIGHT_H_ | 147 #endif // UI_VIEWS_ANIMATION_INK_DROP_HIGHLIGHT_H_ |
| OLD | NEW |