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){}; |