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