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