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

Side by Side Diff: cc/input/scrollbar_animation_controller_client.h

Issue 2554913002: Prevent overlay scrollbars expand or hover together (Closed)
Patch Set: add scrollbar_animation_controller_client.h Created 3 years, 10 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 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 CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_CLIENT_H_
6 #define CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_CLIENT_H_
7
8 #include "base/cancelable_callback.h"
9 #include "base/time/time.h"
10 #include "cc/base/cc_export.h"
11 #include "cc/layers/scrollbar_layer_impl_base.h"
12
13 namespace cc {
14
15 class CC_EXPORT ScrollbarAnimationControllerClient {
bokan 2017/01/25 22:20:54 Why did this have to get split out into a separate
16 public:
17 virtual void PostDelayedScrollbarAnimationTask(const base::Closure& task,
18 base::TimeDelta delay) = 0;
19 virtual void SetNeedsRedrawForScrollbarAnimation() = 0;
20 virtual void SetNeedsAnimateForScrollbarAnimation() = 0;
21 virtual void DidChangeScrollbarVisibility() = 0;
22 virtual ScrollbarSet ScrollbarsFor(int scroll_layer_id) const = 0;
23
24 protected:
25 virtual ~ScrollbarAnimationControllerClient() {}
26 };
27
28 } // namespace cc
29
30 #endif // CC_INPUT_SCROLLBAR_ANIMATION_CONTROLLER_CLIENT_H_
OLDNEW
« no previous file with comments | « cc/input/scrollbar_animation_controller.cc ('k') | cc/input/scrollbar_animation_controller_linear_fade.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698