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

Unified Diff: ui/native_theme/native_theme_aura.h

Issue 238723004: Paint state transition for overlay 9 patch scrollbars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/native_theme/native_theme.h ('k') | ui/native_theme/native_theme_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_aura.h
diff --git a/ui/native_theme/native_theme_aura.h b/ui/native_theme/native_theme_aura.h
index 65c70ff324a071840d9308ddc3aecff65d41ddac..b63556c02849b88f61e7499e6e4e887c674346bd 100644
--- a/ui/native_theme/native_theme_aura.h
+++ b/ui/native_theme/native_theme_aura.h
@@ -52,6 +52,13 @@ class NATIVE_THEME_EXPORT NativeThemeAura : public FallbackTheme {
State state,
const gfx::Rect& rect) const OVERRIDE;
+ virtual void PaintScrollbarThumbStateTransition(SkCanvas* canvas,
+ State startState,
+ State endState,
+ double progress,
+ const gfx::Rect& rect) const
+ OVERRIDE;
+
// Returns the NineImagePainter used to paint the specified state, creating if
// necessary. If no image is provided for the specified state the normal state
// images are used.
@@ -105,6 +112,13 @@ class NATIVE_THEME_EXPORT NativeThemeAura : public FallbackTheme {
const gfx::Rect& rect,
State state) const;
+ void PaintDualPainterTransition(DualPainter* dual_painter,
+ SkCanvas* sk_canvas,
+ const gfx::Rect& rect,
+ State startState,
+ State endState,
+ double progress) const;
+
mutable scoped_ptr<DualPainter> scrollbar_overlay_thumb_painter_;
DISALLOW_COPY_AND_ASSIGN(NativeThemeAura);
« no previous file with comments | « ui/native_theme/native_theme.h ('k') | ui/native_theme/native_theme_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698