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

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

Issue 189233012: Convert CompositingLayerMapping code to use reference (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make RenderLayer non-copyable Created 6 years, 9 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
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayer.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) 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // FIXME: remove this once the compositing query ASSERTS are no longer hit. 92 // FIXME: remove this once the compositing query ASSERTS are no longer hit.
93 class DisableCompositingQueryAsserts { 93 class DisableCompositingQueryAsserts {
94 WTF_MAKE_NONCOPYABLE(DisableCompositingQueryAsserts); 94 WTF_MAKE_NONCOPYABLE(DisableCompositingQueryAsserts);
95 public: 95 public:
96 DisableCompositingQueryAsserts(); 96 DisableCompositingQueryAsserts();
97 private: 97 private:
98 TemporaryChange<CompositingQueryMode> m_disabler; 98 TemporaryChange<CompositingQueryMode> m_disabler;
99 }; 99 };
100 100
101 class RenderLayer { 101 class RenderLayer {
102 WTF_MAKE_NONCOPYABLE(RenderLayer);
102 public: 103 public:
103 friend class RenderReplica; 104 friend class RenderReplica;
104 // FIXME: Needed until we move all the necessary bits to the new class. 105 // FIXME: Needed until we move all the necessary bits to the new class.
105 friend class RenderLayerStackingNode; 106 friend class RenderLayerStackingNode;
106 // FIXME: Needed until we move all the necessary bits to the new class. 107 // FIXME: Needed until we move all the necessary bits to the new class.
107 friend class RenderLayerScrollableArea; 108 friend class RenderLayerScrollableArea;
108 109
109 RenderLayer(RenderLayerModelObject*, LayerType); 110 RenderLayer(RenderLayerModelObject*, LayerType);
110 ~RenderLayer(); 111 ~RenderLayer();
111 112
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 767
767 } // namespace WebCore 768 } // namespace WebCore
768 769
769 #ifndef NDEBUG 770 #ifndef NDEBUG
770 // Outside the WebCore namespace for ease of invocation from gdb. 771 // Outside the WebCore namespace for ease of invocation from gdb.
771 void showLayerTree(const WebCore::RenderLayer*); 772 void showLayerTree(const WebCore::RenderLayer*);
772 void showLayerTree(const WebCore::RenderObject*); 773 void showLayerTree(const WebCore::RenderObject*);
773 #endif 774 #endif
774 775
775 #endif // RenderLayer_h 776 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698