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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 // repositioned in the graphics layer tree to ensure that they stack above | 163 // repositioned in the graphics layer tree to ensure that they stack above |
164 // scrolling content. | 164 // scrolling content. |
165 bool needsToReparentOverflowControls() const; | 165 bool needsToReparentOverflowControls() const; |
166 | 166 |
167 // Removes the overflow controls host layer from its parent and positions it | 167 // Removes the overflow controls host layer from its parent and positions it |
168 // so that it can be inserted as a sibling to this CLM without changing | 168 // so that it can be inserted as a sibling to this CLM without changing |
169 // position. | 169 // position. |
170 GraphicsLayer* detachLayerForOverflowControls(const DeprecatedPaintLayer& en
closingLayer); | 170 GraphicsLayer* detachLayerForOverflowControls(const DeprecatedPaintLayer& en
closingLayer); |
171 | 171 |
172 void updateFilters(const ComputedStyle&); | 172 void updateFilters(const ComputedStyle&); |
| 173 void updateBackdropFilters(const ComputedStyle&); |
173 | 174 |
174 void setBlendMode(WebBlendMode); | 175 void setBlendMode(WebBlendMode); |
175 | 176 |
176 bool needsGraphicsLayerUpdate() { return m_pendingUpdateScope > GraphicsLaye
rUpdateNone; } | 177 bool needsGraphicsLayerUpdate() { return m_pendingUpdateScope > GraphicsLaye
rUpdateNone; } |
177 void setNeedsGraphicsLayerUpdate(GraphicsLayerUpdateScope scope) { m_pending
UpdateScope = std::max(static_cast<GraphicsLayerUpdateScope>(m_pendingUpdateScop
e), scope); } | 178 void setNeedsGraphicsLayerUpdate(GraphicsLayerUpdateScope scope) { m_pending
UpdateScope = std::max(static_cast<GraphicsLayerUpdateScope>(m_pendingUpdateScop
e), scope); } |
178 void clearNeedsGraphicsLayerUpdate() { m_pendingUpdateScope = GraphicsLayerU
pdateNone; } | 179 void clearNeedsGraphicsLayerUpdate() { m_pendingUpdateScope = GraphicsLayerU
pdateNone; } |
179 | 180 |
180 GraphicsLayerUpdater::UpdateType updateTypeForChildren(GraphicsLayerUpdater:
:UpdateType) const; | 181 GraphicsLayerUpdater::UpdateType updateTypeForChildren(GraphicsLayerUpdater:
:UpdateType) const; |
181 | 182 |
182 #if ENABLE(ASSERT) | 183 #if ENABLE(ASSERT) |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 unsigned m_pendingUpdateScope : 2; | 423 unsigned m_pendingUpdateScope : 2; |
423 unsigned m_isMainFrameLayoutViewLayer : 1; | 424 unsigned m_isMainFrameLayoutViewLayer : 1; |
424 | 425 |
425 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 426 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
426 unsigned m_scrollingContentsAreEmpty : 1; | 427 unsigned m_scrollingContentsAreEmpty : 1; |
427 }; | 428 }; |
428 | 429 |
429 } // namespace blink | 430 } // namespace blink |
430 | 431 |
431 #endif // CompositedDeprecatedPaintLayerMapping_h | 432 #endif // CompositedDeprecatedPaintLayerMapping_h |
OLD | NEW |