| 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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 void WillBeginMainFrame() override {} | 349 void WillBeginMainFrame() override {} |
| 350 void DidBeginMainFrame() override {} | 350 void DidBeginMainFrame() override {} |
| 351 void BeginMainFrame(const cc::BeginFrameArgs& args) override; | 351 void BeginMainFrame(const cc::BeginFrameArgs& args) override; |
| 352 void BeginMainFrameNotExpectedSoon() override; | 352 void BeginMainFrameNotExpectedSoon() override; |
| 353 void UpdateLayerTreeHost() override; | 353 void UpdateLayerTreeHost() override; |
| 354 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, | 354 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, |
| 355 const gfx::Vector2dF& outer_delta, | 355 const gfx::Vector2dF& outer_delta, |
| 356 const gfx::Vector2dF& elastic_overscroll_delta, | 356 const gfx::Vector2dF& elastic_overscroll_delta, |
| 357 float page_scale, | 357 float page_scale, |
| 358 float top_controls_delta) override {} | 358 float top_controls_delta) override {} |
| 359 void RecordWheelAndTouchScrollingCount(bool has_scrolled_by_wheel, |
| 360 bool has_scrolled_by_touch) override {} |
| 359 void RequestNewCompositorFrameSink() override; | 361 void RequestNewCompositorFrameSink() override; |
| 360 void DidInitializeCompositorFrameSink() override {} | 362 void DidInitializeCompositorFrameSink() override {} |
| 361 void DidFailToInitializeCompositorFrameSink() override; | 363 void DidFailToInitializeCompositorFrameSink() override; |
| 362 void WillCommit() override {} | 364 void WillCommit() override {} |
| 363 void DidCommit() override; | 365 void DidCommit() override; |
| 364 void DidCommitAndDrawFrame() override {} | 366 void DidCommitAndDrawFrame() override {} |
| 365 void DidReceiveCompositorFrameAck() override; | 367 void DidReceiveCompositorFrameAck() override; |
| 366 void DidCompletePageScaleAnimation() override {} | 368 void DidCompletePageScaleAnimation() override {} |
| 367 | 369 |
| 368 // cc::LayerTreeHostSingleThreadClient implementation. | 370 // cc::LayerTreeHostSingleThreadClient implementation. |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 gfx::ColorSpace blending_color_space_; | 443 gfx::ColorSpace blending_color_space_; |
| 442 | 444 |
| 443 base::WeakPtrFactory<Compositor> weak_ptr_factory_; | 445 base::WeakPtrFactory<Compositor> weak_ptr_factory_; |
| 444 | 446 |
| 445 DISALLOW_COPY_AND_ASSIGN(Compositor); | 447 DISALLOW_COPY_AND_ASSIGN(Compositor); |
| 446 }; | 448 }; |
| 447 | 449 |
| 448 } // namespace ui | 450 } // namespace ui |
| 449 | 451 |
| 450 #endif // UI_COMPOSITOR_COMPOSITOR_H_ | 452 #endif // UI_COMPOSITOR_COMPOSITOR_H_ |
| OLD | NEW |