| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 void OnUpdateVSyncParameters(base::TimeTicks timebase, | 373 void OnUpdateVSyncParameters(base::TimeTicks timebase, |
| 374 base::TimeDelta interval); | 374 base::TimeDelta interval); |
| 375 | 375 |
| 376 // LayerTreeHostClient implementation. | 376 // LayerTreeHostClient implementation. |
| 377 virtual void WillBeginFrame() OVERRIDE {} | 377 virtual void WillBeginFrame() OVERRIDE {} |
| 378 virtual void DidBeginFrame() OVERRIDE {} | 378 virtual void DidBeginFrame() OVERRIDE {} |
| 379 virtual void Animate(double frame_begin_time) OVERRIDE {} | 379 virtual void Animate(double frame_begin_time) OVERRIDE {} |
| 380 virtual void Layout() OVERRIDE; | 380 virtual void Layout() OVERRIDE; |
| 381 virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta, | 381 virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta, |
| 382 float page_scale) OVERRIDE {} | 382 float page_scale) OVERRIDE {} |
| 383 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface() OVERRIDE; | 383 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) |
| 384 OVERRIDE; |
| 384 virtual void DidInitializeOutputSurface(bool success) OVERRIDE {} | 385 virtual void DidInitializeOutputSurface(bool success) OVERRIDE {} |
| 385 virtual void WillCommit() OVERRIDE {} | 386 virtual void WillCommit() OVERRIDE {} |
| 386 virtual void DidCommit() OVERRIDE; | 387 virtual void DidCommit() OVERRIDE; |
| 387 virtual void DidCommitAndDrawFrame() OVERRIDE; | 388 virtual void DidCommitAndDrawFrame() OVERRIDE; |
| 388 virtual void DidCompleteSwapBuffers() OVERRIDE; | 389 virtual void DidCompleteSwapBuffers() OVERRIDE; |
| 389 virtual void ScheduleComposite() OVERRIDE; | 390 virtual void ScheduleComposite() OVERRIDE; |
| 390 virtual scoped_refptr<cc::ContextProvider> | 391 virtual scoped_refptr<cc::ContextProvider> |
| 391 OffscreenContextProviderForMainThread() OVERRIDE; | 392 OffscreenContextProviderForMainThread() OVERRIDE; |
| 392 virtual scoped_refptr<cc::ContextProvider> | 393 virtual scoped_refptr<cc::ContextProvider> |
| 393 OffscreenContextProviderForCompositorThread() OVERRIDE; | 394 OffscreenContextProviderForCompositorThread() OVERRIDE; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 bool disable_schedule_composite_; | 441 bool disable_schedule_composite_; |
| 441 | 442 |
| 442 CompositorLock* compositor_lock_; | 443 CompositorLock* compositor_lock_; |
| 443 | 444 |
| 444 DISALLOW_COPY_AND_ASSIGN(Compositor); | 445 DISALLOW_COPY_AND_ASSIGN(Compositor); |
| 445 }; | 446 }; |
| 446 | 447 |
| 447 } // namespace ui | 448 } // namespace ui |
| 448 | 449 |
| 449 #endif // UI_COMPOSITOR_COMPOSITOR_H_ | 450 #endif // UI_COMPOSITOR_COMPOSITOR_H_ |
| OLD | NEW |