| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 bool needsToReparentOverflowControls() const; | 167 bool needsToReparentOverflowControls() const; |
| 168 | 168 |
| 169 // Removes the overflow controls host layer from its parent and positions it | 169 // Removes the overflow controls host layer from its parent and positions it |
| 170 // so that it can be inserted as a sibling to this CLM without changing | 170 // so that it can be inserted as a sibling to this CLM without changing |
| 171 // position. | 171 // position. |
| 172 GraphicsLayer* detachLayerForOverflowControls(const DeprecatedPaintLayer& en
closingLayer); | 172 GraphicsLayer* detachLayerForOverflowControls(const DeprecatedPaintLayer& en
closingLayer); |
| 173 | 173 |
| 174 void updateFilters(const ComputedStyle&); | 174 void updateFilters(const ComputedStyle&); |
| 175 void updateBackdropFilters(const ComputedStyle&); | 175 void updateBackdropFilters(const ComputedStyle&); |
| 176 | 176 |
| 177 void updateStickyConstraints(const ComputedStyle&); |
| 178 |
| 177 void setBlendMode(WebBlendMode); | 179 void setBlendMode(WebBlendMode); |
| 178 | 180 |
| 179 bool needsGraphicsLayerUpdate() { return m_pendingUpdateScope > GraphicsLaye
rUpdateNone; } | 181 bool needsGraphicsLayerUpdate() { return m_pendingUpdateScope > GraphicsLaye
rUpdateNone; } |
| 180 void setNeedsGraphicsLayerUpdate(GraphicsLayerUpdateScope scope) { m_pending
UpdateScope = std::max(static_cast<GraphicsLayerUpdateScope>(m_pendingUpdateScop
e), scope); } | 182 void setNeedsGraphicsLayerUpdate(GraphicsLayerUpdateScope scope) { m_pending
UpdateScope = std::max(static_cast<GraphicsLayerUpdateScope>(m_pendingUpdateScop
e), scope); } |
| 181 void clearNeedsGraphicsLayerUpdate() { m_pendingUpdateScope = GraphicsLayerU
pdateNone; } | 183 void clearNeedsGraphicsLayerUpdate() { m_pendingUpdateScope = GraphicsLayerU
pdateNone; } |
| 182 | 184 |
| 183 GraphicsLayerUpdater::UpdateType updateTypeForChildren(GraphicsLayerUpdater:
:UpdateType) const; | 185 GraphicsLayerUpdater::UpdateType updateTypeForChildren(GraphicsLayerUpdater:
:UpdateType) const; |
| 184 | 186 |
| 185 #if ENABLE(ASSERT) | 187 #if ENABLE(ASSERT) |
| 186 void assertNeedsToUpdateGraphicsLayerBitsCleared() { ASSERT(m_pendingUpdate
Scope == GraphicsLayerUpdateNone); } | 188 void assertNeedsToUpdateGraphicsLayerBitsCleared() { ASSERT(m_pendingUpdate
Scope == GraphicsLayerUpdateNone); } |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 unsigned m_pendingUpdateScope : 2; | 427 unsigned m_pendingUpdateScope : 2; |
| 426 unsigned m_isMainFrameLayoutViewLayer : 1; | 428 unsigned m_isMainFrameLayoutViewLayer : 1; |
| 427 | 429 |
| 428 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 430 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 429 unsigned m_scrollingContentsAreEmpty : 1; | 431 unsigned m_scrollingContentsAreEmpty : 1; |
| 430 }; | 432 }; |
| 431 | 433 |
| 432 } // namespace blink | 434 } // namespace blink |
| 433 | 435 |
| 434 #endif // CompositedDeprecatedPaintLayerMapping_h | 436 #endif // CompositedDeprecatedPaintLayerMapping_h |
| OLD | NEW |