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 BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_MANAGER_H_ | 5 #ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_MANAGER_H_ |
6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_MANAGER_H_ | 6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "blimp/client/core/compositor/blob_image_serialization_processor.h" |
11 #include "blimp/client/feature/compositor/blimp_compositor.h" | 12 #include "blimp/client/feature/compositor/blimp_compositor.h" |
12 #include "blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h" | 13 #include "blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h" |
13 #include "blimp/client/feature/compositor/blob_image_serialization_processor.h" | |
14 #include "blimp/client/feature/render_widget_feature.h" | 14 #include "blimp/client/feature/render_widget_feature.h" |
15 #include "cc/trees/layer_tree_settings.h" | 15 #include "cc/trees/layer_tree_settings.h" |
16 | 16 |
17 namespace blimp { | 17 namespace blimp { |
18 namespace client { | 18 namespace client { |
19 | 19 |
20 class BlimpCompositorManagerClient { | 20 class BlimpCompositorManagerClient { |
21 public: | 21 public: |
22 virtual void OnSwapBuffersCompleted() = 0; | 22 virtual void OnSwapBuffersCompleted() = 0; |
23 virtual void DidCommitAndDrawFrame() = 0; | 23 virtual void DidCommitAndDrawFrame() = 0; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 RenderWidgetFeature* render_widget_feature_; | 113 RenderWidgetFeature* render_widget_feature_; |
114 BlimpCompositorManagerClient* client_; | 114 BlimpCompositorManagerClient* client_; |
115 | 115 |
116 DISALLOW_COPY_AND_ASSIGN(BlimpCompositorManager); | 116 DISALLOW_COPY_AND_ASSIGN(BlimpCompositorManager); |
117 }; | 117 }; |
118 | 118 |
119 } // namespace client | 119 } // namespace client |
120 } // namespace blimp | 120 } // namespace blimp |
121 | 121 |
122 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_MANAGER_H_ | 122 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_MANAGER_H_ |
OLD | NEW |