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

Unified Diff: third_party/WebKit/Source/platform/scroll/Scrollbar.h

Issue 2421573002: Caches the scrollbar's thickness for the given theme and control size (Closed)
Patch Set: CL for src perf tryjob to run blink_perf.layout benchmark on all-mac platform(s) Created 4 years, 2 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
Index: third_party/WebKit/Source/platform/scroll/Scrollbar.h
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.h b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
index 6cefcb2c9092f6ea3fd00ca1b72692839d83580a..ebe87d8c96f036fa903584d91c5091350679af4d 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.h
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
@@ -249,6 +249,7 @@ class PLATFORM_EXPORT Scrollbar : public Widget,
float scrollableAreaTargetPos() const;
bool thumbWillBeUnderMouse() const;
+ int m_themeScrollbarThickness;
bool m_trackNeedsRepaint;
bool m_thumbNeedsRepaint;
};

Powered by Google App Engine
This is Rietveld 408576698