| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "blimp/client/compositor/blimp_compositor.h" | 5 #include "blimp/client/compositor/blimp_compositor.h" |
| 6 | 6 |
| 7 #include "base/bind_helpers.h" | 7 #include "base/bind_helpers.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
| 10 #include "base/numerics/safe_conversions.h" | 10 #include "base/numerics/safe_conversions.h" |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 142 |
| 143 void BlimpCompositor::UpdateLayerTreeHost() {} | 143 void BlimpCompositor::UpdateLayerTreeHost() {} |
| 144 | 144 |
| 145 void BlimpCompositor::ApplyViewportDeltas( | 145 void BlimpCompositor::ApplyViewportDeltas( |
| 146 const gfx::Vector2dF& inner_delta, | 146 const gfx::Vector2dF& inner_delta, |
| 147 const gfx::Vector2dF& outer_delta, | 147 const gfx::Vector2dF& outer_delta, |
| 148 const gfx::Vector2dF& elastic_overscroll_delta, | 148 const gfx::Vector2dF& elastic_overscroll_delta, |
| 149 float page_scale, | 149 float page_scale, |
| 150 float top_controls_delta) {} | 150 float top_controls_delta) {} |
| 151 | 151 |
| 152 void BlimpCompositor::ApplyMutations(const LayerTreeMutations& mutations) {} |
| 153 |
| 152 void BlimpCompositor::RequestNewOutputSurface() { | 154 void BlimpCompositor::RequestNewOutputSurface() { |
| 153 output_surface_request_pending_ = true; | 155 output_surface_request_pending_ = true; |
| 154 HandlePendingOutputSurfaceRequest(); | 156 HandlePendingOutputSurfaceRequest(); |
| 155 } | 157 } |
| 156 | 158 |
| 157 void BlimpCompositor::DidInitializeOutputSurface() { | 159 void BlimpCompositor::DidInitializeOutputSurface() { |
| 158 } | 160 } |
| 159 | 161 |
| 160 void BlimpCompositor::DidFailToInitializeOutputSurface() {} | 162 void BlimpCompositor::DidFailToInitializeOutputSurface() {} |
| 161 | 163 |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 } | 316 } |
| 315 | 317 |
| 316 cc::LayerSettings BlimpCompositor::LayerSettings() { | 318 cc::LayerSettings BlimpCompositor::LayerSettings() { |
| 317 cc::LayerSettings settings; | 319 cc::LayerSettings settings; |
| 318 settings.use_compositor_animation_timelines = true; | 320 settings.use_compositor_animation_timelines = true; |
| 319 return settings; | 321 return settings; |
| 320 } | 322 } |
| 321 | 323 |
| 322 } // namespace client | 324 } // namespace client |
| 323 } // namespace blimp | 325 } // namespace blimp |
| OLD | NEW |