Chromium Code Reviews| 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 |