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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutBlock.h

Issue 1809643008: Adding or changing any of box-shadow, outline, or border-image-outset does not need a layout.. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 4 years, 8 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
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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 #if ENABLE(ASSERT) 262 #if ENABLE(ASSERT)
263 void checkPositionedObjectsNeedLayout(); 263 void checkPositionedObjectsNeedLayout();
264 #endif 264 #endif
265 #ifndef NDEBUG 265 #ifndef NDEBUG
266 void showLineTreeAndMark(const InlineBox* = nullptr, const char* = nullptr, const InlineBox* = nullptr, const char* = nullptr, const LayoutObject* = nullptr ) const; 266 void showLineTreeAndMark(const InlineBox* = nullptr, const char* = nullptr, const InlineBox* = nullptr, const char* = nullptr, const LayoutObject* = nullptr ) const;
267 #endif 267 #endif
268 268
269 protected: 269 protected:
270 bool recalcNormalFlowChildOverflowIfNeeded(LayoutObject*); 270 bool recalcNormalFlowChildOverflowIfNeeded(LayoutObject*);
271 public: 271 public:
272 bool recalcChildOverflowAfterStyleChange(); 272 virtual bool recalcChildOverflowAfterStyleChange();
273 bool recalcOverflowAfterStyleChange(); 273 bool recalcOverflowAfterStyleChange();
274 274
275 // An example explaining layout tree structure about first-line style: 275 // An example explaining layout tree structure about first-line style:
276 // <style> 276 // <style>
277 // #enclosingFirstLineStyleBlock::first-line { ... } 277 // #enclosingFirstLineStyleBlock::first-line { ... }
278 // </style> 278 // </style>
279 // <div id="enclosingFirstLineStyleBlock"> 279 // <div id="enclosingFirstLineStyleBlock">
280 // <div> 280 // <div>
281 // <div id="nearestInnerBlockWithFirstLine"> 281 // <div id="nearestInnerBlockWithFirstLine">
282 // [<span>]first line text[</span>] 282 // [<span>]first line text[</span>]
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 // FIXME: This is temporary as we move code that accesses block flow 518 // FIXME: This is temporary as we move code that accesses block flow
519 // member variables out of LayoutBlock and into LayoutBlockFlow. 519 // member variables out of LayoutBlock and into LayoutBlockFlow.
520 friend class LayoutBlockFlow; 520 friend class LayoutBlockFlow;
521 }; 521 };
522 522
523 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); 523 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock());
524 524
525 } // namespace blink 525 } // namespace blink
526 526
527 #endif // LayoutBlock_h 527 #endif // LayoutBlock_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698