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

Side by Side Diff: sky/engine/core/rendering/RenderBox.h

Issue 786003002: Remove PaintPhaseClippingMask. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « sky/engine/core/rendering/RenderBlock.cpp ('k') | sky/engine/core/rendering/RenderBox.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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 virtual LayoutRect overflowClipRect(const LayoutPoint& location); 432 virtual LayoutRect overflowClipRect(const LayoutPoint& location);
433 LayoutRect clipRect(const LayoutPoint& location); 433 LayoutRect clipRect(const LayoutPoint& location);
434 virtual bool hasControlClip() const { return false; } 434 virtual bool hasControlClip() const { return false; }
435 virtual LayoutRect controlClipRect(const LayoutPoint&) const { return Layout Rect(); } 435 virtual LayoutRect controlClipRect(const LayoutPoint&) const { return Layout Rect(); }
436 bool pushContentsClip(PaintInfo&, const LayoutPoint& accumulatedOffset, Cont entsClipBehavior); 436 bool pushContentsClip(PaintInfo&, const LayoutPoint& accumulatedOffset, Cont entsClipBehavior);
437 void popContentsClip(PaintInfo&, PaintPhase originalPhase, const LayoutPoint & accumulatedOffset); 437 void popContentsClip(PaintInfo&, PaintPhase originalPhase, const LayoutPoint & accumulatedOffset);
438 438
439 virtual void paintObject(PaintInfo&, const LayoutPoint&) { ASSERT_NOT_REACHE D(); } 439 virtual void paintObject(PaintInfo&, const LayoutPoint&) { ASSERT_NOT_REACHE D(); }
440 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&); 440 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&);
441 virtual void paintMask(PaintInfo&, const LayoutPoint&); 441 virtual void paintMask(PaintInfo&, const LayoutPoint&);
442 virtual void paintClippingMask(PaintInfo&, const LayoutPoint&);
443 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) override; 442 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) override;
444 443
445 // Called when a positioned object moves but doesn't necessarily change size . A simplified layout is attempted 444 // Called when a positioned object moves but doesn't necessarily change size . A simplified layout is attempted
446 // that just updates the object's position. If the size does change, the obj ect remains dirty. 445 // that just updates the object's position. If the size does change, the obj ect remains dirty.
447 bool tryLayoutDoingPositionedMovementOnly() 446 bool tryLayoutDoingPositionedMovementOnly()
448 { 447 {
449 LayoutUnit oldWidth = width(); 448 LayoutUnit oldWidth = width();
450 updateLogicalWidth(); 449 updateLogicalWidth();
451 // If we shrink to fit our width may have changed, so we still need full layout. 450 // If we shrink to fit our width may have changed, so we still need full layout.
452 if (oldWidth != width()) 451 if (oldWidth != width())
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 if (UNLIKELY(inlineBoxWrapper() != 0)) 657 if (UNLIKELY(inlineBoxWrapper() != 0))
659 deleteLineBoxWrapper(); 658 deleteLineBoxWrapper();
660 } 659 }
661 660
662 ensureRareData().m_inlineBoxWrapper = boxWrapper; 661 ensureRareData().m_inlineBoxWrapper = boxWrapper;
663 } 662 }
664 663
665 } // namespace blink 664 } // namespace blink
666 665
667 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_ 666 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderBlock.cpp ('k') | sky/engine/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698