| OLD | NEW | 
|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 #include "ui/views/animation/test/test_ink_drop.h" | 5 #include "ui/views/animation/test/test_ink_drop.h" | 
| 6 | 6 | 
| 7 namespace views { | 7 namespace views { | 
| 8 namespace test { | 8 namespace test { | 
| 9 | 9 | 
| 10 TestInkDrop::TestInkDrop() : state_(InkDropState::HIDDEN), is_hovered_(false) {} | 10 TestInkDrop::TestInkDrop() : state_(InkDropState::HIDDEN), is_hovered_(false) {} | 
| (...skipping 12 matching lines...) Expand all  Loading... | 
| 23 void TestInkDrop::SnapToActivated() { | 23 void TestInkDrop::SnapToActivated() { | 
| 24   state_ = InkDropState::ACTIVATED; | 24   state_ = InkDropState::ACTIVATED; | 
| 25 } | 25 } | 
| 26 | 26 | 
| 27 void TestInkDrop::SetHovered(bool is_hovered) { | 27 void TestInkDrop::SetHovered(bool is_hovered) { | 
| 28   is_hovered_ = is_hovered; | 28   is_hovered_ = is_hovered; | 
| 29 } | 29 } | 
| 30 | 30 | 
| 31 void TestInkDrop::SetFocused(bool is_focused) {} | 31 void TestInkDrop::SetFocused(bool is_focused) {} | 
| 32 | 32 | 
|  | 33 bool TestInkDrop::IsHighlightFadingInOrVisible() const { | 
|  | 34   return false; | 
|  | 35 } | 
|  | 36 | 
| 33 }  // namespace test | 37 }  // namespace test | 
| 34 }  // namespace views | 38 }  // namespace views | 
| OLD | NEW | 
|---|