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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 1946403003: Add fixed raster scale use counter histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review+fixup Created 4 years, 7 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: cc/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index f21f215746883fc24a2c249bb7c7fc86af5853ec..f5bb4801ed07d6e363991463417ebb8987a0d51b 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -1952,6 +1952,14 @@ VideoFrameControllerClient* LayerTreeImpl::GetVideoFrameControllerClient()
return layer_tree_host_impl_;
}
+void LayerTreeImpl::SetFixedRasterScaleHasBlurryContent() {
+ layer_tree_host_impl_->set_fixed_raster_scale_has_blurry_content();
+}
+
+void LayerTreeImpl::SetFixedRasterScaleAttemptedToChangeScale() {
+ layer_tree_host_impl_->SetFixedRasterScaleAttemptedToChangeScale();
+}
+
void LayerTreeImpl::SetPendingPageScaleAnimation(
std::unique_ptr<PendingPageScaleAnimation> pending_animation) {
pending_page_scale_animation_ = std::move(pending_animation);

Powered by Google App Engine
This is Rietveld 408576698