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

Unified Diff: Source/core/layout/api/LineLayoutBoxModel.h

Issue 1328723002: [Line Layout API] Add border*() to LineLayoutBoxModel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 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
« no previous file with comments | « no previous file | Source/core/layout/line/InlineFlowBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/api/LineLayoutBoxModel.h
diff --git a/Source/core/layout/api/LineLayoutBoxModel.h b/Source/core/layout/api/LineLayoutBoxModel.h
index a97d885b59e761efbf70e0fba004cdbac00d7549..be7bf1b4b5809a4552fac0bcd07924a398684ccb 100644
--- a/Source/core/layout/api/LineLayoutBoxModel.h
+++ b/Source/core/layout/api/LineLayoutBoxModel.h
@@ -108,6 +108,26 @@ public:
return toBoxModel()->paddingAfter();
}
+ int borderTop() const
+ {
+ return toBoxModel()->borderTop();
+ }
+
+ int borderBottom() const
+ {
+ return toBoxModel()->borderBottom();
+ }
+
+ int borderLeft() const
+ {
+ return toBoxModel()->borderLeft();
+ }
+
+ int borderRight() const
+ {
+ return toBoxModel()->borderRight();
+ }
+
int borderBefore() const
{
return toBoxModel()->borderBefore();
« no previous file with comments | « no previous file | Source/core/layout/line/InlineFlowBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698