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

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

Issue 2228843003: [LayoutNG] Change core/layout/ng to Chromium style and rename files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/NGBlockLayoutAlgorithm.h
diff --git a/third_party/WebKit/Source/core/layout/ng/NGBlockLayoutAlgorithm.h b/third_party/WebKit/Source/core/layout/ng/NGBlockLayoutAlgorithm.h
deleted file mode 100644
index e250fc06f9808f82430cd2215b749355f736c8f0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/layout/ng/NGBlockLayoutAlgorithm.h
+++ /dev/null
@@ -1,35 +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 NGBlockLayoutAlgorithm_h
-#define NGBlockLayoutAlgorithm_h
-
-#include "wtf/RefPtr.h"
-
-namespace blink {
-
-class ComputedStyle;
-class LayoutBox;
-class NGConstraintSpace;
-class NGFragment;
-
-// A class for general block layout (e.g. a <div> with no special style).
-// Lays out the children in sequence.
-class NGBlockLayoutAlgorithm {
-public:
- NGBlockLayoutAlgorithm(const ComputedStyle*);
-
- // Actual layout implementation. Lays out the children in sequence within
- // the constraints given by the NGConstraintSpace. Returns a fragment
- // with the resulting layout information.
- // This function can not be const because for interruptible layout, we have
- // to be able to store state information.
- NGFragment* layout(const NGConstraintSpace&);
-private:
- RefPtr<const ComputedStyle> m_style;
-};
-
-} // namespace blink
-
-#endif // NGBlockLayoutAlgorithm_h

Powered by Google App Engine
This is Rietveld 408576698