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

Side by Side Diff: Source/core/rendering/RenderLayer.h

Issue 17654008: Implement the ::backdrop pseudo-element for modal <dialog>. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix failing tests Created 7 years, 6 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 /* 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 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 838
839 void updateFilters(const RenderStyle* oldStyle, const RenderStyle* newStyle) ; 839 void updateFilters(const RenderStyle* oldStyle, const RenderStyle* newStyle) ;
840 840
841 #if !ASSERT_DISABLED 841 #if !ASSERT_DISABLED
842 bool layerListMutationAllowed() const { return m_layerListMutationAllowed; } 842 bool layerListMutationAllowed() const { return m_layerListMutationAllowed; }
843 void setLayerListMutationAllowed(bool flag) { m_layerListMutationAllowed = f lag; } 843 void setLayerListMutationAllowed(bool flag) { m_layerListMutationAllowed = f lag; }
844 #endif 844 #endif
845 845
846 Node* enclosingElement() const; 846 Node* enclosingElement() const;
847 847
848 bool isBackdrop() const { return renderer()->style()->styleType() == BACKDRO P; }
848 bool isInTopLayer() const; 849 bool isInTopLayer() const;
849 bool isInTopLayerSubtree() const;
850 850
851 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE; 851 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE;
852 852
853 enum ViewportConstrainedNotCompositedReason { 853 enum ViewportConstrainedNotCompositedReason {
854 NoNotCompositedReason, 854 NoNotCompositedReason,
855 NotCompositedForBoundsOutOfView, 855 NotCompositedForBoundsOutOfView,
856 NotCompositedForNonViewContainer, 856 NotCompositedForNonViewContainer,
857 NotCompositedForNoVisibleContent, 857 NotCompositedForNoVisibleContent,
858 NotCompositedForUnscrollableAncestors, 858 NotCompositedForUnscrollableAncestors,
859 }; 859 };
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
1370 1370
1371 } // namespace WebCore 1371 } // namespace WebCore
1372 1372
1373 #ifndef NDEBUG 1373 #ifndef NDEBUG
1374 // Outside the WebCore namespace for ease of invocation from gdb. 1374 // Outside the WebCore namespace for ease of invocation from gdb.
1375 void showLayerTree(const WebCore::RenderLayer*); 1375 void showLayerTree(const WebCore::RenderLayer*);
1376 void showLayerTree(const WebCore::RenderObject*); 1376 void showLayerTree(const WebCore::RenderObject*);
1377 #endif 1377 #endif
1378 1378
1379 #endif // RenderLayer_h 1379 #endif // RenderLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698