OLD | NEW |
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 * | 3 * |
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
5 * | 5 * |
6 * Other contributors: | 6 * Other contributors: |
7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
(...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
793 void setLayerListMutationAllowed(bool flag) { m_layerListMutationAllowed = f
lag; } | 793 void setLayerListMutationAllowed(bool flag) { m_layerListMutationAllowed = f
lag; } |
794 #endif | 794 #endif |
795 | 795 |
796 Node* enclosingElement() const; | 796 Node* enclosingElement() const; |
797 | 797 |
798 #if ENABLE(DIALOG_ELEMENT) | 798 #if ENABLE(DIALOG_ELEMENT) |
799 bool isInTopLayer() const; | 799 bool isInTopLayer() const; |
800 bool isInTopLayerSubtree() const; | 800 bool isInTopLayerSubtree() const; |
801 #endif | 801 #endif |
802 | 802 |
803 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE; | |
804 | |
805 enum ViewportConstrainedNotCompositedReason { | 803 enum ViewportConstrainedNotCompositedReason { |
806 NoNotCompositedReason, | 804 NoNotCompositedReason, |
807 NotCompositedForBoundsOutOfView, | 805 NotCompositedForBoundsOutOfView, |
808 NotCompositedForNonViewContainer, | 806 NotCompositedForNonViewContainer, |
809 NotCompositedForNoVisibleContent, | 807 NotCompositedForNoVisibleContent, |
810 }; | 808 }; |
811 | 809 |
812 void setViewportConstrainedNotCompositedReason(ViewportConstrainedNotComposi
tedReason reason) { m_viewportConstrainedNotCompositedReason = reason; } | 810 void setViewportConstrainedNotCompositedReason(ViewportConstrainedNotComposi
tedReason reason) { m_viewportConstrainedNotCompositedReason = reason; } |
813 ViewportConstrainedNotCompositedReason viewportConstrainedNotCompositedReaso
n() const { return static_cast<ViewportConstrainedNotCompositedReason>(m_viewpor
tConstrainedNotCompositedReason); } | 811 ViewportConstrainedNotCompositedReason viewportConstrainedNotCompositedReaso
n() const { return static_cast<ViewportConstrainedNotCompositedReason>(m_viewpor
tConstrainedNotCompositedReason); } |
814 | 812 |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1284 | 1282 |
1285 } // namespace WebCore | 1283 } // namespace WebCore |
1286 | 1284 |
1287 #ifndef NDEBUG | 1285 #ifndef NDEBUG |
1288 // Outside the WebCore namespace for ease of invocation from gdb. | 1286 // Outside the WebCore namespace for ease of invocation from gdb. |
1289 void showLayerTree(const WebCore::RenderLayer*); | 1287 void showLayerTree(const WebCore::RenderLayer*); |
1290 void showLayerTree(const WebCore::RenderObject*); | 1288 void showLayerTree(const WebCore::RenderObject*); |
1291 #endif | 1289 #endif |
1292 | 1290 |
1293 #endif // RenderLayer_h | 1291 #endif // RenderLayer_h |
OLD | NEW |