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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutBox.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 * 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 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidt hToEndOfLine = nullptr) override; 693 LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidt hToEndOfLine = nullptr) override;
694 694
695 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro llbarSizeRelevancy = IgnoreOverlayScrollbarSize) const; 695 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro llbarSizeRelevancy = IgnoreOverlayScrollbarSize) const;
696 LayoutRect clipRect(const LayoutPoint& location) const; 696 LayoutRect clipRect(const LayoutPoint& location) const;
697 virtual bool hasControlClip() const { return false; } 697 virtual bool hasControlClip() const { return false; }
698 virtual LayoutRect controlClipRect(const LayoutPoint&) const { return Layout Rect(); } 698 virtual LayoutRect controlClipRect(const LayoutPoint&) const { return Layout Rect(); }
699 699
700 virtual void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoin t&) const; 700 virtual void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoin t&) const;
701 virtual void paintMask(const PaintInfo&, const LayoutPoint&) const; 701 virtual void paintMask(const PaintInfo&, const LayoutPoint&) const;
702 void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override; 702 void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override;
703 ResourcePriority computeResourcePriority() const final;
703 704
704 void logicalExtentAfterUpdatingLogicalWidth(const LayoutUnit& logicalTop, Lo gicalExtentComputedValues&); 705 void logicalExtentAfterUpdatingLogicalWidth(const LayoutUnit& logicalTop, Lo gicalExtentComputedValues&);
705 706
706 PositionWithAffinity positionForPoint(const LayoutPoint&) override; 707 PositionWithAffinity positionForPoint(const LayoutPoint&) override;
707 708
708 void removeFloatingOrPositionedChildFromBlockLists(); 709 void removeFloatingOrPositionedChildFromBlockLists();
709 710
710 PaintLayer* enclosingFloatPaintingLayer() const; 711 PaintLayer* enclosingFloatPaintingLayer() const;
711 712
712 virtual int firstLineBoxBaseline() const { return -1; } 713 virtual int firstLineBoxBaseline() const { return -1; }
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
1052 if (UNLIKELY(inlineBoxWrapper() != nullptr)) 1053 if (UNLIKELY(inlineBoxWrapper() != nullptr))
1053 deleteLineBoxWrapper(); 1054 deleteLineBoxWrapper();
1054 } 1055 }
1055 1056
1056 ensureRareData().m_inlineBoxWrapper = boxWrapper; 1057 ensureRareData().m_inlineBoxWrapper = boxWrapper;
1057 } 1058 }
1058 1059
1059 } // namespace blink 1060 } // namespace blink
1060 1061
1061 #endif // LayoutBox_h 1062 #endif // LayoutBox_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698