| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 float page_scale, | 103 float page_scale, |
| 104 float top_controls_delta) override {} | 104 float top_controls_delta) override {} |
| 105 void RequestNewOutputSurface() override; | 105 void RequestNewOutputSurface() override; |
| 106 void DidInitializeOutputSurface() override; | 106 void DidInitializeOutputSurface() override; |
| 107 void DidFailToInitializeOutputSurface() override; | 107 void DidFailToInitializeOutputSurface() override; |
| 108 void WillCommit() override {} | 108 void WillCommit() override {} |
| 109 void DidCommit() override; | 109 void DidCommit() override; |
| 110 void DidCommitAndDrawFrame() override {} | 110 void DidCommitAndDrawFrame() override {} |
| 111 void DidCompleteSwapBuffers() override; | 111 void DidCompleteSwapBuffers() override; |
| 112 void DidCompletePageScaleAnimation() override {} | 112 void DidCompletePageScaleAnimation() override {} |
| 113 void ReportFixedRasterScaleUseCounters( | |
| 114 bool has_blurry_content, | |
| 115 bool has_potential_performance_regression) override {} | |
| 116 | 113 |
| 117 // LayerTreeHostSingleThreadClient implementation. | 114 // LayerTreeHostSingleThreadClient implementation. |
| 118 void DidPostSwapBuffers() override; | 115 void DidPostSwapBuffers() override; |
| 119 void DidAbortSwapBuffers() override; | 116 void DidAbortSwapBuffers() override; |
| 120 | 117 |
| 121 // WindowAndroidCompositor implementation. | 118 // WindowAndroidCompositor implementation. |
| 122 void RequestCopyOfOutputOnRootLayer( | 119 void RequestCopyOfOutputOnRootLayer( |
| 123 std::unique_ptr<cc::CopyOutputRequest> request) override; | 120 std::unique_ptr<cc::CopyOutputRequest> request) override; |
| 124 void OnVSync(base::TimeTicks frame_time, | 121 void OnVSync(base::TimeTicks frame_time, |
| 125 base::TimeDelta vsync_period) override; | 122 base::TimeDelta vsync_period) override; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 gpu::Capabilities gpu_capabilities_; | 172 gpu::Capabilities gpu_capabilities_; |
| 176 bool needs_begin_frames_; | 173 bool needs_begin_frames_; |
| 177 base::WeakPtrFactory<CompositorImpl> weak_factory_; | 174 base::WeakPtrFactory<CompositorImpl> weak_factory_; |
| 178 | 175 |
| 179 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); | 176 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); |
| 180 }; | 177 }; |
| 181 | 178 |
| 182 } // namespace content | 179 } // namespace content |
| 183 | 180 |
| 184 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ | 181 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ |
| OLD | NEW |