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

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

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 #include "ui/views/animation/test/test_ink_drop_delegate.h"
6
7 namespace views {
8 namespace test {
9
10 TestInkDropDelegate::TestInkDropDelegate()
11 : state_(InkDropState::HIDDEN), is_hovered_(false) {}
12
13 TestInkDropDelegate::~TestInkDropDelegate() {}
14
15 void TestInkDropDelegate::OnAction(InkDropState state) {
16 state_ = state;
17 }
18
19 void TestInkDropDelegate::SetHovered(bool is_hovered) {
20 is_hovered_ = is_hovered;
21 }
22
23 } // namespace test
24 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/animation/test/test_ink_drop_delegate.h ('k') | ui/views/controls/button/menu_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698