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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 863253002: Update from https://crrev.com/312600 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index 98d7e4b0e004c9c4aa913a33d8cba0c6a9d43f48..2728ff8b48efae6dbcd19ae729ac77889aa0cd86 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -108,6 +108,9 @@ class LayerTreeHostImplClient {
virtual void DidActivateSyncTree() = 0;
virtual void DidPrepareTiles() = 0;
+ // Called when page scale animation has completed on the impl thread.
+ virtual void DidCompletePageScaleAnimationOnImplThread() = 0;
+
protected:
virtual ~LayerTreeHostImplClient() {}
};
@@ -356,9 +359,6 @@ class CC_EXPORT LayerTreeHostImpl
void SetViewportSize(const gfx::Size& device_viewport_size);
gfx::Size device_viewport_size() const { return device_viewport_size_; }
- void SetOverhangUIResource(UIResourceId overhang_ui_resource_id,
- const gfx::Size& overhang_ui_resource_size);
-
void SetDeviceScaleFactor(float device_scale_factor);
float device_scale_factor() const { return device_scale_factor_; }
@@ -686,10 +686,6 @@ class CC_EXPORT LayerTreeHostImpl
// pageScaleFactor=1.
float device_scale_factor_;
- // UI resource to use for drawing overhang gutters.
- UIResourceId overhang_ui_resource_id_;
- gfx::Size overhang_ui_resource_size_;
-
// Optional top-level constraints that can be set by the OutputSurface.
// - external_transform_ applies a transform above the root layer
// - external_viewport_ is used DrawProperties, tile management and

Powered by Google App Engine
This is Rietveld 408576698