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

Unified Diff: cc/blink/scrollbar_impl.h

Issue 1458703010: Mac: Don't repaint scrollbars every frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master2
Patch Set: Rebase and resolve Created 5 years, 1 month 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 | « cc/BUILD.gn ('k') | cc/blink/scrollbar_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/scrollbar_impl.h
diff --git a/cc/blink/scrollbar_impl.h b/cc/blink/scrollbar_impl.h
index fa5f0428973c8973308f385660fa8cb6bbb8ff34..617969741ab80a173ec8d58118ea2c4ce1bac523 100644
--- a/cc/blink/scrollbar_impl.h
+++ b/cc/blink/scrollbar_impl.h
@@ -33,6 +33,8 @@ class ScrollbarImpl : public cc::Scrollbar {
int ThumbThickness() const override;
int ThumbLength() const override;
gfx::Rect TrackRect() const override;
+ float ThumbOpacity() const override;
+ bool NeedsPaintPart(cc::ScrollbarPart part) const override;
void PaintPart(SkCanvas* canvas,
cc::ScrollbarPart part,
const gfx::Rect& content_rect) override;
« no previous file with comments | « cc/BUILD.gn ('k') | cc/blink/scrollbar_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698