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

Side by Side Diff: Source/core/layout/LayoutBox.h

Issue 1304063016: Refactor the API for setting dynamic resource load priorities (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/LayoutBlock.cpp ('k') | Source/core/layout/LayoutBox.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 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidt hToEndOfLine = nullptr) override; 583 LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidt hToEndOfLine = nullptr) override;
584 584
585 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro llbarSizeRelevancy = IgnoreOverlayScrollbarSize) const; 585 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro llbarSizeRelevancy = IgnoreOverlayScrollbarSize) const;
586 LayoutRect clipRect(const LayoutPoint& location); 586 LayoutRect clipRect(const LayoutPoint& location);
587 virtual bool hasControlClip() const { return false; } 587 virtual bool hasControlClip() const { return false; }
588 virtual LayoutRect controlClipRect(const LayoutPoint&) const { return Layout Rect(); } 588 virtual LayoutRect controlClipRect(const LayoutPoint&) const { return Layout Rect(); }
589 589
590 virtual void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoin t&); 590 virtual void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoin t&);
591 virtual void paintMask(const PaintInfo&, const LayoutPoint&); 591 virtual void paintMask(const PaintInfo&, const LayoutPoint&);
592 void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override; 592 void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override;
593 ResourcePriority updatePriority(Resource*) final;
593 594
594 void logicalExtentAfterUpdatingLogicalWidth(const LayoutUnit& logicalTop, Lo gicalExtentComputedValues&); 595 void logicalExtentAfterUpdatingLogicalWidth(const LayoutUnit& logicalTop, Lo gicalExtentComputedValues&);
595 596
596 PositionWithAffinity positionForPoint(const LayoutPoint&) override; 597 PositionWithAffinity positionForPoint(const LayoutPoint&) override;
597 598
598 void removeFloatingOrPositionedChildFromBlockLists(); 599 void removeFloatingOrPositionedChildFromBlockLists();
599 600
600 DeprecatedPaintLayer* enclosingFloatPaintingLayer() const; 601 DeprecatedPaintLayer* enclosingFloatPaintingLayer() const;
601 602
602 virtual int firstLineBoxBaseline() const { return -1; } 603 virtual int firstLineBoxBaseline() const { return -1; }
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 if (UNLIKELY(inlineBoxWrapper() != nullptr)) 938 if (UNLIKELY(inlineBoxWrapper() != nullptr))
938 deleteLineBoxWrapper(); 939 deleteLineBoxWrapper();
939 } 940 }
940 941
941 ensureRareData().m_inlineBoxWrapper = boxWrapper; 942 ensureRareData().m_inlineBoxWrapper = boxWrapper;
942 } 943 }
943 944
944 } // namespace blink 945 } // namespace blink
945 946
946 #endif // LayoutBox_h 947 #endif // LayoutBox_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutBlock.cpp ('k') | Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698