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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayer.h

Issue 1508223005: Client side display item cache flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: Created 4 years, 12 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) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 617
618 LayoutRect previousPaintDirtyRect() const { return m_previousPaintDirtyRect; } 618 LayoutRect previousPaintDirtyRect() const { return m_previousPaintDirtyRect; }
619 void setPreviousPaintDirtyRect(const LayoutRect& rect) { m_previousPaintDirt yRect = rect; } 619 void setPreviousPaintDirtyRect(const LayoutRect& rect) { m_previousPaintDirt yRect = rect; }
620 620
621 PaintLayerPainter::PaintResult previousPaintResult() const { return static_c ast<PaintLayerPainter::PaintResult>(m_previousPaintResult); } 621 PaintLayerPainter::PaintResult previousPaintResult() const { return static_c ast<PaintLayerPainter::PaintResult>(m_previousPaintResult); }
622 void setPreviousPaintResult(PaintLayerPainter::PaintResult result) { m_previ ousPaintResult = static_cast<unsigned>(result); ASSERT(m_previousPaintResult == static_cast<unsigned>(result)); } 622 void setPreviousPaintResult(PaintLayerPainter::PaintResult result) { m_previ ousPaintResult = static_cast<unsigned>(result); ASSERT(m_previousPaintResult == static_cast<unsigned>(result)); }
623 623
624 PaintTiming* paintTiming(); 624 PaintTiming* paintTiming();
625 625
626 private: 626 private:
627 DISPLAY_ITEM_CACHE_STATUS_IMPLEMENTATION
628
627 // Bounding box in the coordinates of this layer. 629 // Bounding box in the coordinates of this layer.
628 LayoutRect logicalBoundingBox() const; 630 LayoutRect logicalBoundingBox() const;
629 631
630 bool hasOverflowControls() const; 632 bool hasOverflowControls() const;
631 633
632 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); 634 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus();
633 635
634 // Returns true if the position changed. 636 // Returns true if the position changed.
635 bool updateLayerPosition(); 637 bool updateLayerPosition();
636 638
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
819 821
820 } // namespace blink 822 } // namespace blink
821 823
822 #ifndef NDEBUG 824 #ifndef NDEBUG
823 // Outside the WebCore namespace for ease of invocation from gdb. 825 // Outside the WebCore namespace for ease of invocation from gdb.
824 void showLayerTree(const blink::PaintLayer*); 826 void showLayerTree(const blink::PaintLayer*);
825 void showLayerTree(const blink::LayoutObject*); 827 void showLayerTree(const blink::LayoutObject*);
826 #endif 828 #endif
827 829
828 #endif // Layer_h 830 #endif // Layer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698