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

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

Issue 2824973002: Split StyleSurroundData::margin into four individual Lengths. (Closed)
Patch Set: Rebase 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/LengthBox.h
diff --git a/third_party/WebKit/Source/platform/LengthBox.h b/third_party/WebKit/Source/platform/LengthBox.h
index b5ddf2ab82ae5070ff5685dcfa69810e81653be8..f9927a7040cfab6a793b046df726c8f48910065e 100644
--- a/third_party/WebKit/Source/platform/LengthBox.h
+++ b/third_party/WebKit/Source/platform/LengthBox.h
@@ -68,6 +68,24 @@ class PLATFORM_EXPORT LengthBox {
const Length& bottom,
const Length& left,
const Length& right);
+ static const Length& Start(WritingMode,
+ TextDirection,
+ const Length& top,
+ const Length& left,
+ const Length& right,
+ const Length& bottom);
+ static const Length& End(WritingMode,
+ TextDirection,
+ const Length& top,
+ const Length& left,
+ const Length& right,
+ const Length& bottom);
+ static const Length& Over(WritingMode,
+ const Length& top,
+ const Length& right);
+ static const Length& Under(WritingMode,
+ const Length& bottom,
+ const Length& left);
const Length& Left() const { return left_; }
const Length& Right() const { return right_; }
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleSurroundData.cpp ('k') | third_party/WebKit/Source/platform/LengthBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698