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

Side by Side Diff: Source/core/rendering/RenderBlock.h

Issue 250773002: Reland "Recompute overflow after transform changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@build_hack
Patch Set: again... Created 6 years, 7 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 unified diff | Download patch
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 255
256 #ifndef NDEBUG 256 #ifndef NDEBUG
257 void checkPositionedObjectsNeedLayout(); 257 void checkPositionedObjectsNeedLayout();
258 void showLineTreeAndMark(const InlineBox* = 0, const char* = 0, const Inline Box* = 0, const char* = 0, const RenderObject* = 0) const; 258 void showLineTreeAndMark(const InlineBox* = 0, const char* = 0, const Inline Box* = 0, const char* = 0, const RenderObject* = 0) const;
259 #endif 259 #endif
260 260
261 // inline-block elements paint all phases atomically. This function ensures that. Certain other elements 261 // inline-block elements paint all phases atomically. This function ensures that. Certain other elements
262 // (grid items, flex items) require this behavior as well, and this function exists as a helper for them. 262 // (grid items, flex items) require this behavior as well, and this function exists as a helper for them.
263 // It is expected that the caller will call this function independent of the value of paintInfo.phase. 263 // It is expected that the caller will call this function independent of the value of paintInfo.phase.
264 static void paintAsInlineBlock(RenderObject*, PaintInfo&, const LayoutPoint& ); 264 static void paintAsInlineBlock(RenderObject*, PaintInfo&, const LayoutPoint& );
265
266 bool recalcChildOverflowAfterStyleChange();
267 bool recalcOverflowAfterStyleChange();
268
265 protected: 269 protected:
266 virtual void willBeDestroyed() OVERRIDE; 270 virtual void willBeDestroyed() OVERRIDE;
267 271
268 void dirtyForLayoutFromPercentageHeightDescendants(SubtreeLayoutScope&); 272 void dirtyForLayoutFromPercentageHeightDescendants(SubtreeLayoutScope&);
269 273
270 virtual void layout() OVERRIDE; 274 virtual void layout() OVERRIDE;
271 virtual bool updateImageLoadingPriorities() OVERRIDE FINAL; 275 virtual bool updateImageLoadingPriorities() OVERRIDE FINAL;
272 276
273 enum PositionedLayoutBehavior { 277 enum PositionedLayoutBehavior {
274 DefaultLayout, 278 DefaultLayout,
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 // FIXME: This is temporary as we move code that accesses block flow 548 // FIXME: This is temporary as we move code that accesses block flow
545 // member variables out of RenderBlock and into RenderBlockFlow. 549 // member variables out of RenderBlock and into RenderBlockFlow.
546 friend class RenderBlockFlow; 550 friend class RenderBlockFlow;
547 }; 551 };
548 552
549 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); 553 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock());
550 554
551 } // namespace WebCore 555 } // namespace WebCore
552 556
553 #endif // RenderBlock_h 557 #endif // RenderBlock_h
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/rendering/RenderBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698