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

Side by Side Diff: Source/platform/graphics/GraphicsLayer.h

Issue 898783003: Move rendering/RenderLayer* to layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 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 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 bool drawsContent() const { return m_drawsContent; } 160 bool drawsContent() const { return m_drawsContent; }
161 void setDrawsContent(bool); 161 void setDrawsContent(bool);
162 162
163 bool contentsAreVisible() const { return m_contentsVisible; } 163 bool contentsAreVisible() const { return m_contentsVisible; }
164 void setContentsVisible(bool); 164 void setContentsVisible(bool);
165 165
166 void setScrollParent(WebLayer*); 166 void setScrollParent(WebLayer*);
167 void setClipParent(WebLayer*); 167 void setClipParent(WebLayer*);
168 168
169 // For special cases, e.g. drawing missing tiles on Android. 169 // For special cases, e.g. drawing missing tiles on Android.
170 // The compositor should never paint this color in normal cases because the RenderLayer 170 // The compositor should never paint this color in normal cases because the Layer
171 // will paint background by itself. 171 // will paint background by itself.
172 void setBackgroundColor(const Color&); 172 void setBackgroundColor(const Color&);
173 173
174 // opaque means that we know the layer contents have no alpha 174 // opaque means that we know the layer contents have no alpha
175 bool contentsOpaque() const { return m_contentsOpaque; } 175 bool contentsOpaque() const { return m_contentsOpaque; }
176 void setContentsOpaque(bool); 176 void setContentsOpaque(bool);
177 177
178 bool backfaceVisibility() const { return m_backfaceVisibility; } 178 bool backfaceVisibility() const { return m_backfaceVisibility; }
179 void setBackfaceVisibility(bool visible); 179 void setBackfaceVisibility(bool visible);
180 180
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 }; 363 };
364 364
365 } // namespace blink 365 } // namespace blink
366 366
367 #ifndef NDEBUG 367 #ifndef NDEBUG
368 // Outside the blink namespace for ease of invocation from gdb. 368 // Outside the blink namespace for ease of invocation from gdb.
369 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); 369 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*);
370 #endif 370 #endif
371 371
372 #endif // GraphicsLayer_h 372 #endif // GraphicsLayer_h
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXRenderObject.cpp ('k') | Source/platform/scroll/ScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698