| 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 57221b2fdc084e3e9ce3fb4d9923bae653773d1a..7a4a39a491e324fa08cca1d61dc946506ae22404 100644
|
| --- a/cc/trees/layer_tree_host_impl.h
|
| +++ b/cc/trees/layer_tree_host_impl.h
|
| @@ -195,6 +195,7 @@ class CC_EXPORT LayerTreeHostImpl
|
| virtual bool ShouldClearRootRenderPass() const OVERRIDE;
|
| virtual CompositorFrameMetadata MakeCompositorFrameMetadata() const OVERRIDE;
|
| virtual bool AllowPartialSwap() const OVERRIDE;
|
| + virtual gfx::Vector2d DeviceViewportOffset() const OVERRIDE;
|
|
|
| // TileManagerClient implementation.
|
| virtual void ScheduleManageTiles() OVERRIDE;
|
| @@ -203,6 +204,8 @@ class CC_EXPORT LayerTreeHostImpl
|
| OVERRIDE;
|
|
|
| // OutputSurfaceClient implementation.
|
| + virtual void SetDeviceTransformAndClip(gfx::Transform transform,
|
| + gfx::Rect clip) OVERRIDE;
|
| virtual void SetNeedsRedrawRect(gfx::Rect rect) OVERRIDE;
|
| virtual void OnVSyncParametersChanged(base::TimeTicks timebase,
|
| base::TimeDelta interval) OVERRIDE;
|
| @@ -270,6 +273,9 @@ class CC_EXPORT LayerTreeHostImpl
|
| void SetDeviceScaleFactor(float device_scale_factor);
|
| float device_scale_factor() const { return device_scale_factor_; }
|
|
|
| + gfx::Rect DeviceClip() const;
|
| + gfx::Transform DeviceTransform() const;
|
| +
|
| scoped_ptr<ScrollAndScaleSet> ProcessScrollDeltas();
|
|
|
| bool needs_animate_layers() const {
|
| @@ -498,6 +504,8 @@ class CC_EXPORT LayerTreeHostImpl
|
| size_t last_sent_memory_use_bytes_;
|
|
|
| gfx::Rect viewport_damage_rect_;
|
| + gfx::Rect device_clip_;
|
| + gfx::Transform device_transform_;
|
|
|
| base::TimeTicks current_frame_timeticks_;
|
| base::Time current_frame_time_;
|
|
|