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 <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 void BeginMainFrameNotExpectedSoon() override; | 275 void BeginMainFrameNotExpectedSoon() override; |
276 void Layout() override; | 276 void Layout() override; |
277 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, | 277 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, |
278 const gfx::Vector2dF& outer_delta, | 278 const gfx::Vector2dF& outer_delta, |
279 const gfx::Vector2dF& elastic_overscroll_delta, | 279 const gfx::Vector2dF& elastic_overscroll_delta, |
280 float page_scale, | 280 float page_scale, |
281 float top_controls_delta) override {} | 281 float top_controls_delta) override {} |
282 void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta, | 282 void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta, |
283 float page_scale, | 283 float page_scale, |
284 float top_controls_delta) override {} | 284 float top_controls_delta) override {} |
| 285 void RecordCompositeTimings( |
| 286 cc::FrameTimingTracker::CompositeTimingSet* composites) override {} |
| 287 void RecordRenderTimings( |
| 288 cc::FrameTimingTracker::MainFrameTimingSet* renders) override {} |
285 void RequestNewOutputSurface() override; | 289 void RequestNewOutputSurface() override; |
286 void DidInitializeOutputSurface() override; | 290 void DidInitializeOutputSurface() override; |
287 void DidFailToInitializeOutputSurface() override; | 291 void DidFailToInitializeOutputSurface() override; |
288 void WillCommit() override {} | 292 void WillCommit() override {} |
289 void DidCommit() override; | 293 void DidCommit() override; |
290 void DidCommitAndDrawFrame() override; | 294 void DidCommitAndDrawFrame() override; |
291 void DidCompleteSwapBuffers() override; | 295 void DidCompleteSwapBuffers() override; |
292 void DidCompletePageScaleAnimation() override {} | 296 void DidCompletePageScaleAnimation() override {} |
293 void SendBeginFramesToChildren(const cc::BeginFrameArgs& args) override; | 297 void SendBeginFramesToChildren(const cc::BeginFrameArgs& args) override; |
294 | 298 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 cc::BeginFrameArgs missed_begin_frame_args_; | 360 cc::BeginFrameArgs missed_begin_frame_args_; |
357 | 361 |
358 base::WeakPtrFactory<Compositor> weak_ptr_factory_; | 362 base::WeakPtrFactory<Compositor> weak_ptr_factory_; |
359 | 363 |
360 DISALLOW_COPY_AND_ASSIGN(Compositor); | 364 DISALLOW_COPY_AND_ASSIGN(Compositor); |
361 }; | 365 }; |
362 | 366 |
363 } // namespace ui | 367 } // namespace ui |
364 | 368 |
365 #endif // UI_COMPOSITOR_COMPOSITOR_H_ | 369 #endif // UI_COMPOSITOR_COMPOSITOR_H_ |
OLD | NEW |