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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_length_utils.h

Issue 2289353002: [layoutng] Add methods to compute border and padding (Closed)
Patch Set: Created 4 years, 4 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/ng/ng_length_utils.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h
index 2491d172911bb4f018adc7798eee59b740785e21..04b0c41a84b4a8a3c82c43cd171e2f9bf1cf3496 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h
@@ -47,6 +47,11 @@ CORE_EXPORT LayoutUnit computeBlockSizeForFragment(const NGConstraintSpace&,
CORE_EXPORT NGBoxStrut computeMargins(const NGConstraintSpace&,
const ComputedStyle&);
+CORE_EXPORT NGBoxStrut computeBorders(const ComputedStyle&);
+
+CORE_EXPORT NGBoxStrut computePadding(const NGConstraintSpace&,
+ const ComputedStyle&);
+
} // namespace blink
#endif // NGLengthUtils_h

Powered by Google App Engine
This is Rietveld 408576698