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

Unified Diff: third_party/WebKit/Source/platform/Theme.h

Issue 2834603003: Split StyleSurroundData::padding into four individual Lengths. (Closed)
Patch Set: Split StyleSurroundData::padding into four individual Lengths. Created 3 years, 8 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/Theme.h
diff --git a/third_party/WebKit/Source/platform/Theme.h b/third_party/WebKit/Source/platform/Theme.h
index 36322182e98939fd71c4de01fb44448c5257a618..011bf281271b84d0b370010ba08b3ba565bd0d05 100644
--- a/third_party/WebKit/Source/platform/Theme.h
+++ b/third_party/WebKit/Source/platform/Theme.h
@@ -115,7 +115,10 @@ class PLATFORM_EXPORT Theme {
// Allows the theme to modify the existing padding/border.
virtual LengthBox ControlPadding(ControlPart,
const FontDescription&,
- const LengthBox& zoomed_box,
+ const Length& zoomed_box_top,
+ const Length& zoomed_box_right,
+ const Length& zoomed_box_bottom,
+ const Length& zoomed_box_left,
float zoom_factor) const;
virtual LengthBox ControlBorder(ControlPart,
const FontDescription&,
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleSurroundData.cpp ('k') | third_party/WebKit/Source/platform/Theme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698