| 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 UI_COMPOSITOR_COMPOSITOR_H_ | 5 #ifndef UI_COMPOSITOR_COMPOSITOR_H_ |
| 6 #define UI_COMPOSITOR_COMPOSITOR_H_ | 6 #define UI_COMPOSITOR_COMPOSITOR_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 float page_scale, | 298 float page_scale, |
| 299 float top_controls_delta) override {} | 299 float top_controls_delta) override {} |
| 300 void RequestNewOutputSurface() override; | 300 void RequestNewOutputSurface() override; |
| 301 void DidInitializeOutputSurface() override; | 301 void DidInitializeOutputSurface() override; |
| 302 void DidFailToInitializeOutputSurface() override; | 302 void DidFailToInitializeOutputSurface() override; |
| 303 void WillCommit() override {} | 303 void WillCommit() override {} |
| 304 void DidCommit() override; | 304 void DidCommit() override; |
| 305 void DidCommitAndDrawFrame() override; | 305 void DidCommitAndDrawFrame() override; |
| 306 void DidCompleteSwapBuffers() override; | 306 void DidCompleteSwapBuffers() override; |
| 307 void DidCompletePageScaleAnimation() override {} | 307 void DidCompletePageScaleAnimation() override {} |
| 308 void ReportFixedRasterScaleUseCounters( |
| 309 bool has_blurry_content, |
| 310 bool has_potential_performance_regression) override {} |
| 308 | 311 |
| 309 // cc::LayerTreeHostSingleThreadClient implementation. | 312 // cc::LayerTreeHostSingleThreadClient implementation. |
| 310 void DidPostSwapBuffers() override; | 313 void DidPostSwapBuffers() override; |
| 311 void DidAbortSwapBuffers() override; | 314 void DidAbortSwapBuffers() override; |
| 312 | 315 |
| 313 bool IsLocked() { return compositor_lock_ != NULL; } | 316 bool IsLocked() { return compositor_lock_ != NULL; } |
| 314 | 317 |
| 315 void SetOutputIsSecure(bool output_is_secure); | 318 void SetOutputIsSecure(bool output_is_secure); |
| 316 | 319 |
| 317 const cc::LayerTreeDebugState& GetLayerTreeDebugState() const; | 320 const cc::LayerTreeDebugState& GetLayerTreeDebugState() const; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 scoped_refptr<cc::AnimationTimeline> animation_timeline_; | 374 scoped_refptr<cc::AnimationTimeline> animation_timeline_; |
| 372 | 375 |
| 373 base::WeakPtrFactory<Compositor> weak_ptr_factory_; | 376 base::WeakPtrFactory<Compositor> weak_ptr_factory_; |
| 374 | 377 |
| 375 DISALLOW_COPY_AND_ASSIGN(Compositor); | 378 DISALLOW_COPY_AND_ASSIGN(Compositor); |
| 376 }; | 379 }; |
| 377 | 380 |
| 378 } // namespace ui | 381 } // namespace ui |
| 379 | 382 |
| 380 #endif // UI_COMPOSITOR_COMPOSITOR_H_ | 383 #endif // UI_COMPOSITOR_COMPOSITOR_H_ |
| OLD | NEW |