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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 void updateElementIdAndCompositorMutableProperties(); | 158 void updateElementIdAndCompositorMutableProperties(); |
159 | 159 |
160 // GraphicsLayerClient interface | 160 // GraphicsLayerClient interface |
161 void notifyPaint(bool isFirstPaint, bool textPainted, bool imagePainted) ove
rride; | 161 void notifyPaint(bool isFirstPaint, bool textPainted, bool imagePainted) ove
rride; |
162 | 162 |
163 IntRect computeInterestRect(const GraphicsLayer*, const IntRect& previousInt
erestRect) const override; | 163 IntRect computeInterestRect(const GraphicsLayer*, const IntRect& previousInt
erestRect) const override; |
164 LayoutSize subpixelAccumulation() const final; | 164 LayoutSize subpixelAccumulation() const final; |
165 bool needsRepaint(const GraphicsLayer&) const override; | 165 bool needsRepaint(const GraphicsLayer&) const override; |
166 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain
tingPhase, const IntRect& interestRect) const override; | 166 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain
tingPhase, const IntRect& interestRect) const override; |
167 | 167 |
168 bool isTrackingPaintInvalidations() const override; | 168 bool isTrackingRasterInvalidations() const override; |
169 | 169 |
170 #if ENABLE(ASSERT) | 170 #if ENABLE(ASSERT) |
171 void verifyNotPainting() override; | 171 void verifyNotPainting() override; |
172 #endif | 172 #endif |
173 | 173 |
174 LayoutRect contentsBox() const; | 174 LayoutRect contentsBox() const; |
175 | 175 |
176 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo
ntalScrollbar.get(); } | 176 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo
ntalScrollbar.get(); } |
177 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical
Scrollbar.get(); } | 177 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical
Scrollbar.get(); } |
178 GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner.
get(); } | 178 GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner.
get(); } |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 | 467 |
468 // Keep track of whether the background is painted onto the scrolling conten
ts layer for invalidations. | 468 // Keep track of whether the background is painted onto the scrolling conten
ts layer for invalidations. |
469 unsigned m_backgroundPaintsOntoScrollingContentsLayer : 1; | 469 unsigned m_backgroundPaintsOntoScrollingContentsLayer : 1; |
470 | 470 |
471 friend class CompositedLayerMappingTest; | 471 friend class CompositedLayerMappingTest; |
472 }; | 472 }; |
473 | 473 |
474 } // namespace blink | 474 } // namespace blink |
475 | 475 |
476 #endif // CompositedLayerMapping_h | 476 #endif // CompositedLayerMapping_h |
OLD | NEW |