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

Unified Diff: third_party/WebKit/Source/platform/fonts/Font.h

Issue 2888643004: [LayoutNG] Implement LayoutBR/preserved newlines and tabs (Closed)
Patch Set: Rebase Created 3 years, 7 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/fonts/Font.h
diff --git a/third_party/WebKit/Source/platform/fonts/Font.h b/third_party/WebKit/Source/platform/fonts/Font.h
index 30618c074784249d9b4c9c5fdf276425198fde56..278a6e83642a8a2e47616f5ec9685fdf9f8f5b69 100644
--- a/third_party/WebKit/Source/platform/fonts/Font.h
+++ b/third_party/WebKit/Source/platform/fonts/Font.h
@@ -172,6 +172,7 @@ class PLATFORM_EXPORT Font {
float TabWidth(const TabSize& tab_size, float position) const {
return TabWidth(PrimaryFont(), tab_size, position);
}
+ LayoutUnit TabWidth(const TabSize&, LayoutUnit position) const;
int EmphasisMarkAscent(const AtomicString&) const;
int EmphasisMarkDescent(const AtomicString&) const;
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.cc ('k') | third_party/WebKit/Source/platform/fonts/Font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698