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

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

Issue 1798523003: Moved AppMenu ACTIVATED/DEACTIVATED ink drop handling in to MenuButton. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 9 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_VIEWS_ANIMATION_TEST_TEST_INK_DROP_DELEGATE_H_
6 #define UI_VIEWS_ANIMATION_TEST_TEST_INK_DROP_DELEGATE_H_
7
8 #include "base/macros.h"
9 #include "ui/views/animation/ink_drop_delegate.h"
10
11 namespace views {
12 namespace test {
13
14 class TestInkDropDelegate : public InkDropDelegate {
15 public:
16 TestInkDropDelegate();
17 ~TestInkDropDelegate() override;
18
19 InkDropState state() const { return state_; }
20
21 bool is_hovered() const { return is_hovered_; }
22
23 // InkDropDelegate:
24 void OnAction(InkDropState state) override;
25 void SetHovered(bool is_hovered) override;
26
27 private:
28 InkDropState state_;
29
30 bool is_hovered_;
31
32 DISALLOW_COPY_AND_ASSIGN(TestInkDropDelegate);
33 };
34
35 } // namespace test
36 } // namespace views
37
38 #endif // UI_VIEWS_ANIMATION_TEST_TEST_INK_DROP_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_action_view_unittest.cc ('k') | ui/views/animation/test/test_ink_drop_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698