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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 float page_scale, | 291 float page_scale, |
292 float top_controls_delta) override {} | 292 float top_controls_delta) override {} |
293 void RequestNewOutputSurface() override; | 293 void RequestNewOutputSurface() override; |
294 void DidInitializeOutputSurface() override; | 294 void DidInitializeOutputSurface() override; |
295 void DidFailToInitializeOutputSurface() override; | 295 void DidFailToInitializeOutputSurface() override; |
296 void WillCommit() override {} | 296 void WillCommit() override {} |
297 void DidCommit() override; | 297 void DidCommit() override; |
298 void DidCommitAndDrawFrame() override; | 298 void DidCommitAndDrawFrame() override; |
299 void DidCompleteSwapBuffers() override; | 299 void DidCompleteSwapBuffers() override; |
300 void DidCompletePageScaleAnimation() override {} | 300 void DidCompletePageScaleAnimation() override {} |
| 301 void ReportFixedRasterScaleUseCounters( |
| 302 bool has_blurry_content, |
| 303 bool has_potential_performance_regression) override {} |
301 | 304 |
302 // cc::LayerTreeHostSingleThreadClient implementation. | 305 // cc::LayerTreeHostSingleThreadClient implementation. |
303 void DidPostSwapBuffers() override; | 306 void DidPostSwapBuffers() override; |
304 void DidAbortSwapBuffers() override; | 307 void DidAbortSwapBuffers() override; |
305 | 308 |
306 bool IsLocked() { return compositor_lock_ != NULL; } | 309 bool IsLocked() { return compositor_lock_ != NULL; } |
307 | 310 |
308 void SetOutputIsSecure(bool output_is_secure); | 311 void SetOutputIsSecure(bool output_is_secure); |
309 | 312 |
310 const cc::LayerTreeDebugState& GetLayerTreeDebugState() const; | 313 const cc::LayerTreeDebugState& GetLayerTreeDebugState() const; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 scoped_refptr<cc::AnimationTimeline> animation_timeline_; | 367 scoped_refptr<cc::AnimationTimeline> animation_timeline_; |
365 | 368 |
366 base::WeakPtrFactory<Compositor> weak_ptr_factory_; | 369 base::WeakPtrFactory<Compositor> weak_ptr_factory_; |
367 | 370 |
368 DISALLOW_COPY_AND_ASSIGN(Compositor); | 371 DISALLOW_COPY_AND_ASSIGN(Compositor); |
369 }; | 372 }; |
370 | 373 |
371 } // namespace ui | 374 } // namespace ui |
372 | 375 |
373 #endif // UI_COMPOSITOR_COMPOSITOR_H_ | 376 #endif // UI_COMPOSITOR_COMPOSITOR_H_ |
OLD | NEW |