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

Unified Diff: Source/core/css/resolver/StyleAdjuster.h

Issue 148293008: [CSS Grid Layout] Add support to place items using named grid lines (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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: Source/core/css/resolver/StyleAdjuster.h
diff --git a/Source/core/css/resolver/StyleAdjuster.h b/Source/core/css/resolver/StyleAdjuster.h
index 96e5927bc373d819fd198b98aef687ffa2e32701..9459194fa3b60adaeb12e8d4fd07d66c07062531 100644
--- a/Source/core/css/resolver/StyleAdjuster.h
+++ b/Source/core/css/resolver/StyleAdjuster.h
@@ -22,6 +22,8 @@
#ifndef StyleAdjuster_h
#define StyleAdjuster_h
+#include "core/rendering/style/StyleGridData.h"
+
namespace WebCore {
class CachedUAStyle;
@@ -42,6 +44,7 @@ public:
private:
void adjustGridItemPosition(RenderStyle*, RenderStyle*) const;
+ PassOwnPtr<GridPosition> adjustNamedGridItemPosition(const NamedGridAreaMap&, const NamedGridLinesMap&, const GridPosition&, GridPositionSide) const;
const CachedUAStyle& m_cachedUAStyle;
bool m_useQuirksModeStyles;

Powered by Google App Engine
This is Rietveld 408576698