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

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

Issue 2579663002: Update comments about scrollbar thickness. (Closed)
Patch Set: _ Created 4 years 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 | « third_party/WebKit/Source/platform/scroll/Scrollbar.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
index ec03635f57af4bed02a460181197917342f0556c..9036cd211c60ce237be323a8fb6cae8f09117c0f 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
@@ -59,6 +59,8 @@ class PLATFORM_EXPORT ScrollbarTheme {
virtual ScrollbarPart hitTest(const ScrollbarThemeClient&, const IntPoint&);
// This returns a fixed value regardless of device-scale-factor.
+ // This returns thickness when scrollbar is painted. i.e. It's not 0 even in
+ // overlay scrollbar mode.
// See also Scrollbar::scrollbarThickness().
virtual int scrollbarThickness(ScrollbarControlSize = RegularScrollbar) {
return 0;
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/Scrollbar.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698