OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 // scrolling content. | 177 // scrolling content. |
178 bool needsToReparentOverflowControls() const; | 178 bool needsToReparentOverflowControls() const; |
179 | 179 |
180 // Removes the overflow controls host layer from its parent and positions it | 180 // Removes the overflow controls host layer from its parent and positions it |
181 // so that it can be inserted as a sibling to this CLM without changing | 181 // so that it can be inserted as a sibling to this CLM without changing |
182 // position. | 182 // position. |
183 GraphicsLayer* detachLayerForOverflowControls(const RenderLayer& enclosingLa
yer); | 183 GraphicsLayer* detachLayerForOverflowControls(const RenderLayer& enclosingLa
yer); |
184 | 184 |
185 void updateFilters(const RenderStyle*); | 185 void updateFilters(const RenderStyle*); |
186 | 186 |
187 void setBlendMode(blink::WebBlendMode); | 187 void setBlendMode(WebBlendMode); |
188 | 188 |
189 bool needsGraphicsLayerUpdate() { return m_pendingUpdateScope > GraphicsLaye
rUpdateNone; } | 189 bool needsGraphicsLayerUpdate() { return m_pendingUpdateScope > GraphicsLaye
rUpdateNone; } |
190 void setNeedsGraphicsLayerUpdate(GraphicsLayerUpdateScope scope) { m_pending
UpdateScope = std::max(static_cast<GraphicsLayerUpdateScope>(m_pendingUpdateScop
e), scope); } | 190 void setNeedsGraphicsLayerUpdate(GraphicsLayerUpdateScope scope) { m_pending
UpdateScope = std::max(static_cast<GraphicsLayerUpdateScope>(m_pendingUpdateScop
e), scope); } |
191 void clearNeedsGraphicsLayerUpdate() { m_pendingUpdateScope = GraphicsLayerU
pdateNone; } | 191 void clearNeedsGraphicsLayerUpdate() { m_pendingUpdateScope = GraphicsLayerU
pdateNone; } |
192 | 192 |
193 GraphicsLayerUpdater::UpdateType updateTypeForChildren(GraphicsLayerUpdater:
:UpdateType) const; | 193 GraphicsLayerUpdater::UpdateType updateTypeForChildren(GraphicsLayerUpdater:
:UpdateType) const; |
194 | 194 |
195 #if ENABLE(ASSERT) | 195 #if ENABLE(ASSERT) |
196 void assertNeedsToUpdateGraphicsLayerBitsCleared() { ASSERT(m_pendingUpdate
Scope == GraphicsLayerUpdateNone); } | 196 void assertNeedsToUpdateGraphicsLayerBitsCleared() { ASSERT(m_pendingUpdate
Scope == GraphicsLayerUpdateNone); } |
197 #endif | 197 #endif |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 unsigned m_isMainFrameRenderViewLayer : 1; | 424 unsigned m_isMainFrameRenderViewLayer : 1; |
425 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; | 425 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; |
426 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; | 426 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; |
427 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 427 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
428 unsigned m_scrollingContentsAreEmpty : 1; | 428 unsigned m_scrollingContentsAreEmpty : 1; |
429 }; | 429 }; |
430 | 430 |
431 } // namespace blink | 431 } // namespace blink |
432 | 432 |
433 #endif // CompositedLayerMapping_h | 433 #endif // CompositedLayerMapping_h |
OLD | NEW |