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

Unified Diff: third_party/WebKit/public/platform/WebLayerTreeView.h

Issue 2390923002: Fix blurry content after disabling dev tools emulation (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/platform/WebLayerTreeView.h
diff --git a/third_party/WebKit/public/platform/WebLayerTreeView.h b/third_party/WebKit/public/platform/WebLayerTreeView.h
index 74ba8c348865bac9b21ccda1bbc5f0f8d6d336a6..cf1237f3ed55c774a62db889406c2b5c1eef9192 100644
--- a/third_party/WebKit/public/platform/WebLayerTreeView.h
+++ b/third_party/WebKit/public/platform/WebLayerTreeView.h
@@ -152,6 +152,10 @@ class WebLayerTreeView {
// Mutations are plumbed back to the layer tree via the mutator client.
virtual void setMutatorClient(std::unique_ptr<WebCompositorMutatorClient>) {}
+ // For when the embedder itself change scales on the page (e.g. devtools)
+ // and wants all of the content at the new scale to be crisp.
+ virtual void forceRecalculateRasterScales() {}
+
// Input properties ---------------------------------------------------
virtual void setEventListenerProperties(WebEventListenerClass,
WebEventListenerProperties){};

Powered by Google App Engine
This is Rietveld 408576698