Index: third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h |
deleted file mode 100644 |
index 89cf2f4a1421a05adad86b07903ef48c20212b3b..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h |
+++ /dev/null |
@@ -1,45 +0,0 @@ |
-// Copyright 2016 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 NGInlineLayoutAlgorithm_h |
-#define NGInlineLayoutAlgorithm_h |
- |
-#include "core/CoreExport.h" |
-#include "core/layout/ng/ng_break_token.h" |
-#include "core/layout/ng/ng_layout_algorithm.h" |
-#include "platform/heap/Handle.h" |
- |
-namespace blink { |
- |
-class NGInlineNode; |
-class NGLineBuilder; |
- |
-// A class for text layout. This takes a NGInlineNode which consists only |
-// non-atomic inlines and produces NGTextFragments. |
-// |
-// Unlike other layout algorithms this takes a NGInlineNode as its input instead |
-// of the ComputedStyle as it operates over multiple inlines with different |
-// style. |
-class CORE_EXPORT NGTextLayoutAlgorithm : public NGLayoutAlgorithm { |
- public: |
- // Default constructor. |
- // @param inline_box The inline box to produce fragments from. |
- // @param space The constraint space which the algorithm should generate a |
- // fragments within. |
- NGTextLayoutAlgorithm(NGInlineNode* inline_box, |
- NGBreakToken* break_token = nullptr); |
- |
- RefPtr<NGLayoutResult> Layout() override; |
- void LayoutInline(NGLineBuilder*); |
- |
- private: |
- Persistent<NGInlineNode> inline_box_; |
- NGBreakToken* break_token_; |
- |
- friend class NGInlineNodeTest; |
-}; |
- |
-} // namespace blink |
- |
-#endif // NGInlineLayoutAlgorithm_h |