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

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: add helper function and descendant selector test Created 7 years, 5 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 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 789
790 void updateFilters(const RenderStyle* oldStyle, const RenderStyle* newStyle) ; 790 void updateFilters(const RenderStyle* oldStyle, const RenderStyle* newStyle) ;
791 791
792 #if !ASSERT_DISABLED 792 #if !ASSERT_DISABLED
793 bool layerListMutationAllowed() const { return m_layerListMutationAllowed; } 793 bool layerListMutationAllowed() const { return m_layerListMutationAllowed; }
794 void setLayerListMutationAllowed(bool flag) { m_layerListMutationAllowed = f lag; } 794 void setLayerListMutationAllowed(bool flag) { m_layerListMutationAllowed = f lag; }
795 #endif 795 #endif
796 796
797 Node* enclosingElement() const; 797 Node* enclosingElement() const;
798 798
799 bool isBackdrop() const { return renderer()->style()->styleType() == BACKDRO P; }
799 bool isInTopLayer() const; 800 bool isInTopLayer() const;
800 bool isInTopLayerSubtree() const;
801 801
802 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE; 802 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE;
803 803
804 enum ViewportConstrainedNotCompositedReason { 804 enum ViewportConstrainedNotCompositedReason {
805 NoNotCompositedReason, 805 NoNotCompositedReason,
806 NotCompositedForBoundsOutOfView, 806 NotCompositedForBoundsOutOfView,
807 NotCompositedForNonViewContainer, 807 NotCompositedForNonViewContainer,
808 NotCompositedForNoVisibleContent, 808 NotCompositedForNoVisibleContent,
809 NotCompositedForUnscrollableAncestors, 809 NotCompositedForUnscrollableAncestors,
810 }; 810 };
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
1323 1323
1324 } // namespace WebCore 1324 } // namespace WebCore
1325 1325
1326 #ifndef NDEBUG 1326 #ifndef NDEBUG
1327 // Outside the WebCore namespace for ease of invocation from gdb. 1327 // Outside the WebCore namespace for ease of invocation from gdb.
1328 void showLayerTree(const WebCore::RenderLayer*); 1328 void showLayerTree(const WebCore::RenderLayer*);
1329 void showLayerTree(const WebCore::RenderObject*); 1329 void showLayerTree(const WebCore::RenderObject*);
1330 #endif 1330 #endif
1331 1331
1332 #endif // RenderLayer_h 1332 #endif // RenderLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698