Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(485)

Side by Side Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h

Issue 2380683006: SPv2: Add support for tracking raster paint invalidations in testing. (Closed)
Patch Set: none Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 IntRect computeInterestRect( 195 IntRect computeInterestRect(
196 const GraphicsLayer*, 196 const GraphicsLayer*,
197 const IntRect& previousInterestRect) const override; 197 const IntRect& previousInterestRect) const override;
198 LayoutSize subpixelAccumulation() const final; 198 LayoutSize subpixelAccumulation() const final;
199 bool needsRepaint(const GraphicsLayer&) const override; 199 bool needsRepaint(const GraphicsLayer&) const override;
200 void paintContents(const GraphicsLayer*, 200 void paintContents(const GraphicsLayer*,
201 GraphicsContext&, 201 GraphicsContext&,
202 GraphicsLayerPaintingPhase, 202 GraphicsLayerPaintingPhase,
203 const IntRect& interestRect) const override; 203 const IntRect& interestRect) const override;
204 204
205 bool isTrackingPaintInvalidations() const override; 205 bool isTrackingRasterInvalidations() const override;
206 206
207 #if ENABLE(ASSERT) 207 #if ENABLE(ASSERT)
208 void verifyNotPainting() override; 208 void verifyNotPainting() override;
209 #endif 209 #endif
210 210
211 LayoutRect contentsBox() const; 211 LayoutRect contentsBox() const;
212 212
213 GraphicsLayer* layerForHorizontalScrollbar() const { 213 GraphicsLayer* layerForHorizontalScrollbar() const {
214 return m_layerForHorizontalScrollbar.get(); 214 return m_layerForHorizontalScrollbar.get();
215 } 215 }
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 605
606 // Keep track of whether the background is painted onto the scrolling contents layer for invalidations. 606 // Keep track of whether the background is painted onto the scrolling contents layer for invalidations.
607 unsigned m_backgroundPaintsOntoScrollingContentsLayer : 1; 607 unsigned m_backgroundPaintsOntoScrollingContentsLayer : 1;
608 608
609 friend class CompositedLayerMappingTest; 609 friend class CompositedLayerMappingTest;
610 }; 610 };
611 611
612 } // namespace blink 612 } // namespace blink
613 613
614 #endif // CompositedLayerMapping_h 614 #endif // CompositedLayerMapping_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698