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

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

Issue 1026823002: [S.P.] Don't draw frames of animated images that are offscreen (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef LayoutMultiColumnSpannerPlaceholder_h 5 #ifndef LayoutMultiColumnSpannerPlaceholder_h
6 #define LayoutMultiColumnSpannerPlaceholder_h 6 #define LayoutMultiColumnSpannerPlaceholder_h
7 7
8 #include "core/layout/LayoutMultiColumnFlowThread.h" 8 #include "core/layout/LayoutMultiColumnFlowThread.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 15 matching lines...) Expand all
26 26
27 virtual const char* name() const override { return "LayoutMultiColumnSpanner Placeholder"; } 27 virtual const char* name() const override { return "LayoutMultiColumnSpanner Placeholder"; }
28 28
29 protected: 29 protected:
30 virtual void willBeRemovedFromTree() override; 30 virtual void willBeRemovedFromTree() override;
31 virtual bool needsPreferredWidthsRecalculation() const override; 31 virtual bool needsPreferredWidthsRecalculation() const override;
32 virtual LayoutUnit minPreferredLogicalWidth() const override; 32 virtual LayoutUnit minPreferredLogicalWidth() const override;
33 virtual LayoutUnit maxPreferredLogicalWidth() const override; 33 virtual LayoutUnit maxPreferredLogicalWidth() const override;
34 virtual void layout() override; 34 virtual void layout() override;
35 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const override; 35 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const override;
36 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) override; 36 virtual void invalidateTreeIfNeeded(PaintInvalidationState&) override;
37 virtual void paint(const PaintInfo&, const LayoutPoint& paintOffset) overrid e; 37 virtual void paint(const PaintInfo&, const LayoutPoint& paintOffset) overrid e;
38 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) override; 38 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) override;
39 39
40 private: 40 private:
41 LayoutMultiColumnSpannerPlaceholder(LayoutBox*); 41 LayoutMultiColumnSpannerPlaceholder(LayoutBox*);
42 42
43 LayoutBox* m_rendererInFlowThread; // The actual column-span:all renderer in side the flow thread. 43 LayoutBox* m_rendererInFlowThread; // The actual column-span:all renderer in side the flow thread.
44 }; 44 };
45 45
46 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMultiColumnSpannerPlaceholder, isLayoutMul tiColumnSpannerPlaceholder()); 46 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMultiColumnSpannerPlaceholder, isLayoutMul tiColumnSpannerPlaceholder());
47 47
48 } // namespace blink 48 } // namespace blink
49 49
50 #endif 50 #endif
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutImage.cpp ('k') | Source/core/layout/LayoutMultiColumnSpannerPlaceholder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698