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

Side by Side Diff: ui/views/animation/test/test_ink_drop_host.h

Issue 1937103003: Rename of InkDropAnimation classes to InkDropRipple. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed test_ink_drop_animation_observer.h from views.gyp and doc update. Created 4 years, 7 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
OLDNEW
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_TEST_TEST_INK_DROP_HOST_H_ 5 #ifndef UI_VIEWS_ANIMATION_TEST_TEST_INK_DROP_HOST_H_
6 #define UI_VIEWS_ANIMATION_TEST_TEST_INK_DROP_HOST_H_ 6 #define UI_VIEWS_ANIMATION_TEST_TEST_INK_DROP_HOST_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/views/animation/ink_drop_host.h" 9 #include "ui/views/animation/ink_drop_host.h"
10 10
(...skipping 12 matching lines...) Expand all
23 should_show_hover_ = should_show_hover; 23 should_show_hover_ = should_show_hover;
24 } 24 }
25 25
26 void set_disable_timers_for_test(bool disable_timers_for_test) { 26 void set_disable_timers_for_test(bool disable_timers_for_test) {
27 disable_timers_for_test_ = disable_timers_for_test; 27 disable_timers_for_test_ = disable_timers_for_test;
28 } 28 }
29 29
30 // TestInkDropHost: 30 // TestInkDropHost:
31 void AddInkDropLayer(ui::Layer* ink_drop_layer) override; 31 void AddInkDropLayer(ui::Layer* ink_drop_layer) override;
32 void RemoveInkDropLayer(ui::Layer* ink_drop_layer) override; 32 void RemoveInkDropLayer(ui::Layer* ink_drop_layer) override;
33 std::unique_ptr<InkDropAnimation> CreateInkDropAnimation() const override; 33 std::unique_ptr<InkDropRipple> CreateInkDropRipple() const override;
34 std::unique_ptr<InkDropHover> CreateInkDropHover() const override; 34 std::unique_ptr<InkDropHover> CreateInkDropHover() const override;
35 35
36 private: 36 private:
37 int num_ink_drop_layers_; 37 int num_ink_drop_layers_;
38 38
39 bool should_show_hover_; 39 bool should_show_hover_;
40 40
41 // When true, the InkDropAnimation/InkDropHover instances will have their 41 // When true, the InkDropRipple/InkDropHover instances will have their
42 // timers disabled after creation. 42 // timers disabled after creation.
43 bool disable_timers_for_test_; 43 bool disable_timers_for_test_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(TestInkDropHost); 45 DISALLOW_COPY_AND_ASSIGN(TestInkDropHost);
46 }; 46 };
47 47
48 } // namespace views 48 } // namespace views
49 49
50 #endif // UI_VIEWS_ANIMATION_TEST_TEST_INK_DROP_HOST_H_ 50 #endif // UI_VIEWS_ANIMATION_TEST_TEST_INK_DROP_HOST_H_
OLDNEW
« no previous file with comments | « ui/views/animation/test/test_ink_drop_animation_observer_helper.h ('k') | ui/views/animation/test/test_ink_drop_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698