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

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

Issue 2720183002: [Views] Update ink drop for omnibox icons (Closed)
Patch Set: Removed CanProcessEventsWithinSubtree Created 3 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
« no previous file with comments | « ui/views/animation/ink_drop_impl.cc ('k') | ui/views/animation/ink_drop_stub.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 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_INK_DROP_OBSERVER_H_
6 #define UI_VIEWS_ANIMATION_INK_DROP_OBSERVER_H_
7
8 #include <string>
9
10 #include "base/macros.h"
11 #include "ui/views/views_export.h"
12
13 namespace views {
14
15 // Observer to attach to an InkDrop.
16 class VIEWS_EXPORT InkDropObserver {
17 public:
18 // Called when the animation of the current InkDrop has started. This
19 // includes the ripple or highlight animation. Note: this is not guaranteed to
20 // be notified, as the notification is dependent on the subclass
21 // implementation.
22 virtual void InkDropAnimationStarted() = 0;
23
24 protected:
25 InkDropObserver() = default;
26 virtual ~InkDropObserver() = default;
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(InkDropObserver);
30 };
31
32 } // namespace views
33
34 #endif // UI_VIEWS_ANIMATION_INK_DROP_OBSERVER_H_
OLDNEW
« no previous file with comments | « ui/views/animation/ink_drop_impl.cc ('k') | ui/views/animation/ink_drop_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698