| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CC_TEST_LAYER_TREE_HOST_REMOTE_FOR_TESTING_H_ | 5 #ifndef CC_TEST_LAYER_TREE_HOST_REMOTE_FOR_TESTING_H_ |
| 6 #define CC_TEST_LAYER_TREE_HOST_REMOTE_FOR_TESTING_H_ | 6 #define CC_TEST_LAYER_TREE_HOST_REMOTE_FOR_TESTING_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "cc/blimp/compositor_state_deserializer_client.h" | 9 #include "cc/blimp/compositor_state_deserializer_client.h" |
| 10 #include "cc/blimp/layer_tree_host_remote.h" | 10 #include "cc/blimp/layer_tree_host_remote.h" |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 void ApplyUpdatesFromInProcessHost(); | 93 void ApplyUpdatesFromInProcessHost(); |
| 94 | 94 |
| 95 void RemoteHostNeedsMainFrame(); | 95 void RemoteHostNeedsMainFrame(); |
| 96 void ProcessRemoteCompositorUpdate( | 96 void ProcessRemoteCompositorUpdate( |
| 97 std::unique_ptr<CompositorProtoState> compositor_proto_state); | 97 std::unique_ptr<CompositorProtoState> compositor_proto_state); |
| 98 void UpdateStateOnInProcessHost(); | 98 void UpdateStateOnInProcessHost(); |
| 99 | 99 |
| 100 std::unique_ptr<LayerTreeHostInProcess> layer_tree_host_in_process_; | 100 std::unique_ptr<LayerTreeHostInProcess> layer_tree_host_in_process_; |
| 101 std::unique_ptr<CompositorStateDeserializer> compositor_state_deserializer_; | 101 std::unique_ptr<CompositorStateDeserializer> compositor_state_deserializer_; |
| 102 | 102 |
| 103 std::unique_ptr<CompositorProtoState> pending_compositor_proto_state_; | |
| 104 ScrollOffsetMap layers_scrolled_; | 103 ScrollOffsetMap layers_scrolled_; |
| 105 | 104 |
| 106 std::unique_ptr<LayerTreeHostInProcessClient> | 105 std::unique_ptr<LayerTreeHostInProcessClient> |
| 107 layer_tree_host_in_process_client_; | 106 layer_tree_host_in_process_client_; |
| 108 | 107 |
| 109 std::unique_ptr<FakeImageSerializationProcessor> | 108 std::unique_ptr<FakeImageSerializationProcessor> |
| 110 image_serialization_processor_; | 109 image_serialization_processor_; |
| 111 | 110 |
| 112 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostRemoteForTesting); | 111 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostRemoteForTesting); |
| 113 }; | 112 }; |
| 114 | 113 |
| 115 } // namespace cc | 114 } // namespace cc |
| 116 | 115 |
| 117 #endif // CC_TEST_LAYER_TREE_HOST_REMOTE_FOR_TESTING_H_ | 116 #endif // CC_TEST_LAYER_TREE_HOST_REMOTE_FOR_TESTING_H_ |
| OLD | NEW |