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

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

Issue 1508223005: Client side display item cache flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: Created 5 years 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 8f52c48c68182703b4b6faf163fe609a7b9dd558..d4f46d0dc3ec97273ff1ba3323535e412162fa8d 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
@@ -269,6 +269,8 @@ public:
String debugName() const final { return m_client->debugName(this); }
IntRect visualRect() const override;
+ void setCanUseClientCacheStatus(bool);
+
protected:
String debugName(cc::Layer*) const;
bool shouldFlattenTransform() const { return m_shouldFlattenTransform; }
@@ -282,6 +284,8 @@ protected:
friend class PaintControllerPaintTestBase;
private:
+ DISPLAY_ITEM_CACHE_STATUS_UNCACHEABLE_IMPLEMENTATION
+
// Returns true if PaintController::paintArtifact() changed and needs commit.
bool paintWithoutCommit(const IntRect* interestRect, GraphicsContext::DisabledMode = GraphicsContext::NothingDisabled);

Powered by Google App Engine
This is Rietveld 408576698