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

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

Issue 1378743002: Refactor the API for setting dynamic resource load priorities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better names / cleanup Created 5 years, 2 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 272
273 bool recalcChildOverflowAfterStyleChange(); 273 bool recalcChildOverflowAfterStyleChange();
274 bool recalcOverflowAfterStyleChange(); 274 bool recalcOverflowAfterStyleChange();
275 275
276 protected: 276 protected:
277 void willBeDestroyed() override; 277 void willBeDestroyed() override;
278 278
279 void dirtyForLayoutFromPercentageHeightDescendants(SubtreeLayoutScope&); 279 void dirtyForLayoutFromPercentageHeightDescendants(SubtreeLayoutScope&);
280 280
281 void layout() override; 281 void layout() override;
282 bool updateImageLoadingPriorities() final;
283 282
284 enum PositionedLayoutBehavior { 283 enum PositionedLayoutBehavior {
285 DefaultLayout, 284 DefaultLayout,
286 LayoutOnlyFixedPositionedObjects, 285 LayoutOnlyFixedPositionedObjects,
287 ForcedLayoutAfterContainingBlockMoved 286 ForcedLayoutAfterContainingBlockMoved
288 }; 287 };
289 288
290 void layoutPositionedObjects(bool relayoutChildren, PositionedLayoutBehavior = DefaultLayout); 289 void layoutPositionedObjects(bool relayoutChildren, PositionedLayoutBehavior = DefaultLayout);
291 void markFixedPositionObjectForLayoutIfNeeded(LayoutObject* child, SubtreeLa youtScope&); 290 void markFixedPositionObjectForLayoutIfNeeded(LayoutObject* child, SubtreeLa youtScope&);
292 291
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 // FIXME: This is temporary as we move code that accesses block flow 481 // FIXME: This is temporary as we move code that accesses block flow
483 // member variables out of LayoutBlock and into LayoutBlockFlow. 482 // member variables out of LayoutBlock and into LayoutBlockFlow.
484 friend class LayoutBlockFlow; 483 friend class LayoutBlockFlow;
485 }; 484 };
486 485
487 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); 486 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock());
488 487
489 } // namespace blink 488 } // namespace blink
490 489
491 #endif // LayoutBlock_h 490 #endif // LayoutBlock_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698