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

Unified Diff: ui/views/animation/test/ink_drop_highlight_test_api.h

Issue 2034963002: Rename InkDropHover to InkDropHighlight (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gyp file Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/animation/test/ink_drop_highlight_test_api.h
diff --git a/ui/views/animation/test/ink_drop_hover_test_api.h b/ui/views/animation/test/ink_drop_highlight_test_api.h
similarity index 52%
rename from ui/views/animation/test/ink_drop_hover_test_api.h
rename to ui/views/animation/test/ink_drop_highlight_test_api.h
index 1393f2ee31d4dd134a4730c9cb09e37c8a8434d0..e542b8a6aebb5815367579d67730910e83604c40 100644
--- a/ui/views/animation/test/ink_drop_hover_test_api.h
+++ b/ui/views/animation/test/ink_drop_highlight_test_api.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_VIEWS_ANIMATION_TEST_INK_DROP_HOVER_TEST_API_H_
-#define UI_VIEWS_ANIMATION_TEST_INK_DROP_HOVER_TEST_API_H_
+#ifndef UI_VIEWS_ANIMATION_TEST_INK_DROP_HIGHLIGHT_TEST_API_H_
+#define UI_VIEWS_ANIMATION_TEST_INK_DROP_HIGHLIGHT_TEST_API_H_
#include <vector>
@@ -16,38 +16,39 @@ class LayerAnimator;
} // namespace ui
namespace views {
-class InkDropHover;
+class InkDropHighlight;
namespace test {
-// Test API to provide internal access to an InkDropHover instance. This can
+// Test API to provide internal access to an InkDropHighlight instance. This can
// also be used to control the animations via the
// ui::test::MultiLayerAnimatorTestController API.
-class InkDropHoverTestApi
+class InkDropHighlightTestApi
: public ui::test::MultiLayerAnimatorTestController,
public ui::test::MultiLayerAnimatorTestControllerDelegate {
public:
- explicit InkDropHoverTestApi(InkDropHover* ink_drop_hover);
- ~InkDropHoverTestApi() override;
+ explicit InkDropHighlightTestApi(InkDropHighlight* ink_drop_highlight);
+ ~InkDropHighlightTestApi() override;
// MultiLayerAnimatorTestControllerDelegate:
std::vector<ui::LayerAnimator*> GetLayerAnimators() override;
protected:
- InkDropHover* ink_drop_hover() {
- return static_cast<const InkDropHoverTestApi*>(this)->ink_drop_hover();
+ InkDropHighlight* ink_drop_highlight() {
+ return static_cast<const InkDropHighlightTestApi*>(this)
+ ->ink_drop_highlight();
}
- InkDropHover* ink_drop_hover() const { return ink_drop_hover_; }
+ InkDropHighlight* ink_drop_highlight() const { return ink_drop_highlight_; }
private:
- // The InkDropHover to provide internal access to.
- InkDropHover* ink_drop_hover_;
+ // The InkDropHighlight to provide internal access to.
+ InkDropHighlight* ink_drop_highlight_;
- DISALLOW_COPY_AND_ASSIGN(InkDropHoverTestApi);
+ DISALLOW_COPY_AND_ASSIGN(InkDropHighlightTestApi);
};
} // namespace test
} // namespace views
-#endif // UI_VIEWS_ANIMATION_TEST_INK_DROP_HOVER_TEST_API_H_
+#endif // UI_VIEWS_ANIMATION_TEST_INK_DROP_HIGHLIGHT_TEST_API_H_
« no previous file with comments | « ui/views/animation/ink_drop_impl_unittest.cc ('k') | ui/views/animation/test/ink_drop_highlight_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698