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

Side by Side Diff: ui/views/animation/ink_drop_stub.h

Issue 2067013002: Removed InkDropFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed views:: -> ui:: compile error. 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 unified diff | Download patch
« no previous file with comments | « ui/views/animation/ink_drop_host_view.cc ('k') | ui/views/animation/ink_drop_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/macros.h" 5 #include "base/macros.h"
6 #include "ui/views/animation/ink_drop.h" 6 #include "ui/views/animation/ink_drop.h"
7 #include "ui/views/views_export.h"
7 8
8 namespace views { 9 namespace views {
9 10
10 // A stub implementation of an InkDrop that can be used when no visuals should 11 // A stub implementation of an InkDrop that can be used when no visuals should
11 // be shown. e.g. material design is enabled. 12 // be shown. e.g. material design is enabled.
12 class InkDropStub : public InkDrop { 13 class VIEWS_EXPORT InkDropStub : public InkDrop {
13 public: 14 public:
14 InkDropStub(); 15 InkDropStub();
15 ~InkDropStub() override; 16 ~InkDropStub() override;
16 17
17 // InkDrop: 18 // InkDrop:
18 InkDropState GetTargetInkDropState() const override; 19 InkDropState GetTargetInkDropState() const override;
19 void AnimateToState(InkDropState state) override; 20 void AnimateToState(InkDropState state) override;
20 void SnapToActivated() override; 21 void SnapToActivated() override;
21 void SetHovered(bool is_hovered) override; 22 void SetHovered(bool is_hovered) override;
22 void SetFocused(bool is_hovered) override; 23 void SetFocused(bool is_hovered) override;
23 24
24 private: 25 private:
25 DISALLOW_COPY_AND_ASSIGN(InkDropStub); 26 DISALLOW_COPY_AND_ASSIGN(InkDropStub);
26 }; 27 };
27 28
28 } // namespace views 29 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/animation/ink_drop_host_view.cc ('k') | ui/views/animation/ink_drop_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698