| Index: cc/test/layer_tree_host_remote_for_testing.h
|
| diff --git a/cc/test/layer_tree_host_remote_for_testing.h b/cc/test/layer_tree_host_remote_for_testing.h
|
| index d2efbf91fe0697a95eb8d97d81a58820ce4dd679..1d786861b875c8153df330d049c0f409a09af65d 100644
|
| --- a/cc/test/layer_tree_host_remote_for_testing.h
|
| +++ b/cc/test/layer_tree_host_remote_for_testing.h
|
| @@ -6,16 +6,14 @@
|
| #define CC_TEST_LAYER_TREE_HOST_REMOTE_FOR_TESTING_H_
|
|
|
| #include "base/macros.h"
|
| -#include "cc/blimp/compositor_state_deserializer_client.h"
|
| +#include "cc/blimp/compositor_state_deserializer.h"
|
| #include "cc/blimp/layer_tree_host_remote.h"
|
| -#include "ui/gfx/geometry/scroll_offset.h"
|
|
|
| namespace gpu {
|
| class GpuMemoryBufferManager;
|
| } // namespace gpu
|
|
|
| namespace cc {
|
| -class CompositorStateDeserializer;
|
| class FakeImageSerializationProcessor;
|
| class LayerTreeHostInProcess;
|
| class SharedBitmapManager;
|
| @@ -75,15 +73,12 @@ class LayerTreeHostRemoteForTesting : public LayerTreeHostRemote,
|
| class RemoteCompositorBridgeImpl;
|
|
|
| // CompositorStateDeserializerClient implementation.
|
| - bool ShouldRetainClientScroll(int engine_layer_id,
|
| - const gfx::ScrollOffset& new_offset) override;
|
| - bool ShouldRetainClientPageScale(float new_page_scale) override;
|
| + void DidUpdateLocalState() override;
|
|
|
| // LayerTreeHostRemote interface.
|
| void DispatchDrawAndSubmitCallbacks() override;
|
|
|
| - void LayerDidScroll(int engine_layer_id);
|
| - void ApplyUpdatesFromInProcessHost();
|
| + void BeginRemoteMainFrame();
|
|
|
| void RemoteHostNeedsMainFrame();
|
| void ProcessRemoteCompositorUpdate(
|
| @@ -92,7 +87,7 @@ class LayerTreeHostRemoteForTesting : public LayerTreeHostRemote,
|
| std::unique_ptr<LayerTreeHostInProcess> layer_tree_host_in_process_;
|
| std::unique_ptr<CompositorStateDeserializer> compositor_state_deserializer_;
|
|
|
| - ScrollOffsetMap layers_scrolled_;
|
| + bool client_state_dirty_ = false;
|
|
|
| std::unique_ptr<LayerTreeHostInProcessClient>
|
| layer_tree_host_in_process_client_;
|
|
|