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

Unified Diff: third_party/WebKit/Source/core/style/GridResolvedPosition.h

Issue 1648903002: [css-grid] Rename GridResolvedPosition to GridPositionsResolver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/style/GridResolvedPosition.h
diff --git a/third_party/WebKit/Source/core/style/GridResolvedPosition.h b/third_party/WebKit/Source/core/style/GridResolvedPosition.h
deleted file mode 100644
index 1a29f3c2f49e04a7c3946a9b12cbeca1b68fbf7f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/style/GridResolvedPosition.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright 2014 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 GridResolvedPosition_h
-#define GridResolvedPosition_h
-
-#include "core/style/GridPosition.h"
-#include "wtf/Allocator.h"
-
-namespace blink {
-
-struct GridSpan;
-class LayoutBox;
-class ComputedStyle;
-
-enum GridPositionSide {
- ColumnStartSide,
- ColumnEndSide,
- RowStartSide,
- RowEndSide
-};
-
-enum GridTrackSizingDirection {
- ForColumns,
- ForRows
-};
-
-// This is a utility class with all the code related to grid items positions resolution.
-// TODO(rego): Rename class to GridPositionsResolver.
-class GridResolvedPosition {
- DISALLOW_NEW();
-public:
-
- static size_t explicitGridColumnCount(const ComputedStyle&);
- static size_t explicitGridRowCount(const ComputedStyle&);
-
- static bool isValidNamedLineOrArea(const String& lineName, const ComputedStyle&, GridPositionSide);
-
- static GridPositionSide initialPositionSide(GridTrackSizingDirection);
- static GridPositionSide finalPositionSide(GridTrackSizingDirection);
-
- static size_t spanSizeForAutoPlacedItem(const ComputedStyle&, const LayoutBox&, GridTrackSizingDirection);
- static GridSpan resolveGridPositionsFromStyle(const ComputedStyle&, const LayoutBox&, GridTrackSizingDirection);
-
-};
-
-} // namespace blink
-
-#endif // GridResolvedPosition_h

Powered by Google App Engine
This is Rietveld 408576698