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

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

Issue 2772503004: [LayoutNG] Add NGInlineBreakToken and back of NGInlineLayoutAlgorithm (Closed)
Patch Set: Rename Created 3 years, 9 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_line_breaker.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_line_breaker.h b/third_party/WebKit/Source/core/layout/ng/ng_line_breaker.h
new file mode 100644
index 0000000000000000000000000000000000000000..d8473ab50fb2e42ab96c03111f2963ad7ff269d9
--- /dev/null
+++ b/third_party/WebKit/Source/core/layout/ng/ng_line_breaker.h
@@ -0,0 +1,25 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
ikilpatrick 2017/03/24 20:58:05 2017?
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NGLineBreaker_h
+#define NGLineBreaker_h
+
+#include "core/CoreExport.h"
+#include "platform/heap/Handle.h"
+
+namespace blink {
+
+class NGInlineLayoutAlgorithm;
+
+// Represents a line breaker.
+class CORE_EXPORT NGLineBreaker {
+ STACK_ALLOCATED();
+
+ public:
+ void BreakLines(NGInlineLayoutAlgorithm*, const String&, unsigned);
+};
+
+} // namespace blink
+
+#endif // NGLineBreaker_h

Powered by Google App Engine
This is Rietveld 408576698