| 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..5a1b7cf7c340fbe27685309957fcc081256046a5
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_line_breaker.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// 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
|
|
|