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

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

Issue 2390923002: Fix blurry content after disabling dev tools emulation (Closed)
Patch Set: Add function for LayerTreeHostRemote 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
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6c2d5b6955b5a56213dc8a6ac1672ab419e56899..23243a62d6648a4aa1af85f4dcd2b17a06d8f95d 100644
--- a/third_party/WebKit/public/platform/WebLayerTreeView.h
+++ b/third_party/WebKit/public/platform/WebLayerTreeView.h
@@ -158,6 +158,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){};
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698