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

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

Issue 877043002: Remove RenderLayerScrollableArea (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « sky/engine/core/page/EventHandler.cpp ('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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 227
228 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo utUnit& maxLogicalWidth) const override; 228 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo utUnit& maxLogicalWidth) const override;
229 virtual void computePreferredLogicalWidths() override; 229 virtual void computePreferredLogicalWidths() override;
230 230
231 virtual int firstLineBoxBaseline() const override; 231 virtual int firstLineBoxBaseline() const override;
232 virtual int inlineBlockBaseline(LineDirectionMode) const override; 232 virtual int inlineBlockBaseline(LineDirectionMode) const override;
233 virtual int lastLineBoxBaseline(LineDirectionMode) const; 233 virtual int lastLineBoxBaseline(LineDirectionMode) const;
234 234
235 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&) overrid e; 235 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&) overrid e;
236 236
237 // Delay update scrollbar until finishDelayUpdateScrollInfo() will be
238 // called. This function is used when a flexbox is laying out its
239 // descendant. If multiple calls are made to startDelayUpdateScrollInfo(),
240 // finishDelayUpdateScrollInfo() will do nothing until finishDelayUpdateScro llInfo()
241 // is called the same number of times.
242 static void startDelayUpdateScrollInfo();
243 static void finishDelayUpdateScrollInfo();
244
245 void updateScrollInfoAfterLayout();
246
247 virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) o verride; 237 virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) o verride;
248 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov erride; 238 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov erride;
249 239
250 virtual bool hasLineIfEmpty() const; 240 virtual bool hasLineIfEmpty() const;
251 241
252 bool simplifiedLayout(); 242 bool simplifiedLayout();
253 virtual void simplifiedNormalFlowLayout(); 243 virtual void simplifiedNormalFlowLayout();
254 244
255 public: 245 public:
256 virtual void computeOverflow(LayoutUnit oldClientAfterEdge, bool = false); 246 virtual void computeOverflow(LayoutUnit oldClientAfterEdge, bool = false);
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 // member variables out of RenderBlock and into RenderBlockFlow. 330 // member variables out of RenderBlock and into RenderBlockFlow.
341 friend class RenderBlockFlow; 331 friend class RenderBlockFlow;
342 friend class RenderParagraph; 332 friend class RenderParagraph;
343 }; 333 };
344 334
345 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); 335 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock());
346 336
347 } // namespace blink 337 } // namespace blink
348 338
349 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBLOCK_H_ 339 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBLOCK_H_
OLDNEW
« no previous file with comments | « sky/engine/core/page/EventHandler.cpp ('k') | sky/engine/core/rendering/RenderBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698