OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |