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

Side by Side Diff: sky/engine/core/rendering/RenderBlock.h

Issue 689853003: Remove CSS Grid Layout and grid media queries. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « sky/engine/core/frame/PRESUBMIT.py ('k') | sky/engine/core/rendering/RenderBlock.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2007 David Smith (catfish.man@gmail.com) 4 * (C) 2007 David Smith (catfish.man@gmail.com)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 LayoutUnit endOffsetForContent() const { return !style()->isLeftToRightDirec tion() ? logicalLeftOffsetForContent() : logicalWidth() - logicalRightOffsetForC ontent(); } 208 LayoutUnit endOffsetForContent() const { return !style()->isLeftToRightDirec tion() ? logicalLeftOffsetForContent() : logicalWidth() - logicalRightOffsetForC ontent(); }
209 209
210 #if ENABLE(ASSERT) 210 #if ENABLE(ASSERT)
211 void checkPositionedObjectsNeedLayout(); 211 void checkPositionedObjectsNeedLayout();
212 #endif 212 #endif
213 #ifndef NDEBUG 213 #ifndef NDEBUG
214 void showLineTreeAndMark(const InlineBox* = 0, const char* = 0, const Inline Box* = 0, const char* = 0, const RenderObject* = 0) const; 214 void showLineTreeAndMark(const InlineBox* = 0, const char* = 0, const Inline Box* = 0, const char* = 0, const RenderObject* = 0) const;
215 #endif 215 #endif
216 216
217 // inline-block elements paint all phases atomically. This function ensures that. Certain other elements 217 // inline-block elements paint all phases atomically. This function ensures that. Certain other elements
218 // (grid items, flex items) require this behavior as well, and this function exists as a helper for them. 218 // (flex items) require this behavior as well, and this function exists as a helper for them.
219 // It is expected that the caller will call this function independent of the value of paintInfo.phase. 219 // It is expected that the caller will call this function independent of the value of paintInfo.phase.
220 static void paintAsInlineBlock(RenderObject*, PaintInfo&, const LayoutPoint& ); 220 static void paintAsInlineBlock(RenderObject*, PaintInfo&, const LayoutPoint& );
221 221
222 bool recalcChildOverflowAfterStyleChange(); 222 bool recalcChildOverflowAfterStyleChange();
223 bool recalcOverflowAfterStyleChange(); 223 bool recalcOverflowAfterStyleChange();
224 224
225 protected: 225 protected:
226 virtual void willBeDestroyed() override; 226 virtual void willBeDestroyed() override;
227 227
228 void dirtyForLayoutFromPercentageHeightDescendants(SubtreeLayoutScope&); 228 void dirtyForLayoutFromPercentageHeightDescendants(SubtreeLayoutScope&);
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 // FIXME: This is temporary as we move code that accesses block flow 413 // FIXME: This is temporary as we move code that accesses block flow
414 // member variables out of RenderBlock and into RenderBlockFlow. 414 // member variables out of RenderBlock and into RenderBlockFlow.
415 friend class RenderBlockFlow; 415 friend class RenderBlockFlow;
416 }; 416 };
417 417
418 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); 418 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock());
419 419
420 } // namespace blink 420 } // namespace blink
421 421
422 #endif // RenderBlock_h 422 #endif // RenderBlock_h
OLDNEW
« no previous file with comments | « sky/engine/core/frame/PRESUBMIT.py ('k') | sky/engine/core/rendering/RenderBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698