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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTheme.h

Issue 2305133002: Mac: adjust sizes of progress bars to be equal to painted size. (Closed)
Patch Set: none Created 4 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
Index: third_party/WebKit/Source/core/layout/LayoutTheme.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.h b/third_party/WebKit/Source/core/layout/LayoutTheme.h
index 93d5d6c0c9fadd36973288f8e56c410cc2106793..f103c73b30c0b3cc80560942598771432e0cff14 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.h
@@ -153,6 +153,8 @@ public:
virtual ScrollbarControlSize scrollbarControlSizeForPart(ControlPart) { return RegularScrollbar; }
+ virtual void adjustProgressBarBounds(ComputedStyle& style) const { }
+
// Returns the repeat interval of the animation for the progress bar.
virtual double animationRepeatIntervalForProgressBar() const;
// Returns the duration of the animation for the progress bar.

Powered by Google App Engine
This is Rietveld 408576698