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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h

Issue 1401363003: Rename DisplayItemList to PaintController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
index 0763cc5c0e6e68adbd5d512cdcc72d9d127957bf..919cac7c54d0baf39952d9aca537c10330fcf515 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
@@ -40,7 +40,7 @@
#include "platform/graphics/PaintInvalidationReason.h"
#include "platform/graphics/filters/FilterOperations.h"
#include "platform/graphics/paint/DisplayItemClient.h"
-#include "platform/graphics/paint/DisplayItemList.h"
+#include "platform/graphics/paint/PaintController.h"
#include "platform/transforms/TransformationMatrix.h"
#include "public/platform/WebCompositorAnimationDelegate.h"
#include "public/platform/WebContentLayer.h"
@@ -55,7 +55,6 @@
namespace blink {
-class DisplayItemList;
class FloatRect;
class GraphicsContext;
class GraphicsLayer;
@@ -64,6 +63,7 @@ class GraphicsLayerFactoryChromium;
class Image;
class LinkHighlight;
class JSONObject;
+class PaintController;
class ScrollableArea;
class WebCompositorAnimation;
class WebLayer;
@@ -255,7 +255,7 @@ public:
// WebLayerScrollClient implementation.
void didScroll() override;
- DisplayItemList* displayItemList() override;
+ PaintController* paintController() override;
// Exposed for tests.
virtual WebLayer* contentsLayer() const { return m_contentsLayer; }
@@ -278,7 +278,7 @@ protected:
friend class FakeGraphicsLayerFactory;
private:
- // Sets m_needsDisplay, but without invalidating the DisplayItemList. This allows us to test
+ // Sets m_needsDisplay, but without invalidating the PaintController. This allows us to test
// scenarios where paint needs to be re-calculated, but no DisplayItemClients were invalidated
// (such as re-paints due to change of interest rect).
void setNeedsDisplayWithoutInvalidateForTesting();
@@ -375,9 +375,9 @@ private:
GraphicsLayerDebugInfo m_debugInfo;
int m_3dRenderingContext;
- OwnPtr<DisplayItemList> m_displayItemList;
+ OwnPtr<PaintController> m_paintController;
- friend class DisplayItemListPaintTestForSlimmingPaintV2;
+ friend class PaintControllerPaintTestForSlimmingPaintV2;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698