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

Unified Diff: Source/platform/scroll/ScrollbarThemeClient.h

Issue 246293006: Blink Support for Overlay Scrollbar Animation Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix unittest and move unittest to blink_platform_unittests Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/scroll/ScrollbarThemeAura.cpp ('k') | Source/platform/scroll/ScrollbarThemeOverlay.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/scroll/ScrollbarThemeClient.h
diff --git a/Source/platform/scroll/ScrollbarThemeClient.h b/Source/platform/scroll/ScrollbarThemeClient.h
index df31f31994c7483d94c00686d565d3f8bd809dd6..bc76d8e761504d2cef759fb77e843e42dcf1de1e 100644
--- a/Source/platform/scroll/ScrollbarThemeClient.h
+++ b/Source/platform/scroll/ScrollbarThemeClient.h
@@ -31,6 +31,7 @@
#include "platform/geometry/IntRect.h"
#include "platform/geometry/IntSize.h"
#include "platform/scroll/ScrollTypes.h"
+#include "public/platform/WebThemeEngine.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/Vector.h"
@@ -84,6 +85,23 @@ public:
virtual bool isOverlayScrollbar() const = 0;
+ virtual bool isDuringStateTransitionAnimation() const
+ {
+ return false;
+ }
+ virtual double stateTransitionProgress() const
+ {
+ return 0;
+ }
+ virtual blink::WebThemeEngine::State stateTransitionStartState() const
+ {
+ return blink::WebThemeEngine::StateNormal;
+ }
+ virtual blink::WebThemeEngine::State stateTransitionEndState() const
+ {
+ return blink::WebThemeEngine::StateNormal;
+ }
+
virtual bool isAlphaLocked() const = 0;
virtual void setIsAlphaLocked(bool) = 0;
« no previous file with comments | « Source/platform/scroll/ScrollbarThemeAura.cpp ('k') | Source/platform/scroll/ScrollbarThemeOverlay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698