| 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/hash_tables.h" | 10 #include "base/hash_tables.h" |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 // LayerTreeHostClient implementation. | 341 // LayerTreeHostClient implementation. |
| 342 virtual void WillBeginFrame() OVERRIDE {} | 342 virtual void WillBeginFrame() OVERRIDE {} |
| 343 virtual void DidBeginFrame() OVERRIDE {} | 343 virtual void DidBeginFrame() OVERRIDE {} |
| 344 virtual void Animate(double frame_begin_time) OVERRIDE {} | 344 virtual void Animate(double frame_begin_time) OVERRIDE {} |
| 345 virtual void Layout() OVERRIDE; | 345 virtual void Layout() OVERRIDE; |
| 346 virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta, | 346 virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta, |
| 347 float page_scale) OVERRIDE {} | 347 float page_scale) OVERRIDE {} |
| 348 virtual scoped_ptr<cc::OutputSurface> | 348 virtual scoped_ptr<cc::OutputSurface> |
| 349 CreateOutputSurface() OVERRIDE; | 349 CreateOutputSurface() OVERRIDE; |
| 350 virtual void DidInitializeOutputSurface(bool success) OVERRIDE {} | 350 virtual void DidInitializeOutputSurface(bool success) OVERRIDE {} |
| 351 virtual scoped_ptr<cc::InputHandlerClient> CreateInputHandlerClient() | |
| 352 OVERRIDE; | |
| 353 virtual void WillCommit() OVERRIDE {} | 351 virtual void WillCommit() OVERRIDE {} |
| 354 virtual void DidCommit() OVERRIDE; | 352 virtual void DidCommit() OVERRIDE; |
| 355 virtual void DidCommitAndDrawFrame() OVERRIDE; | 353 virtual void DidCommitAndDrawFrame() OVERRIDE; |
| 356 virtual void DidCompleteSwapBuffers() OVERRIDE; | 354 virtual void DidCompleteSwapBuffers() OVERRIDE; |
| 357 virtual void ScheduleComposite() OVERRIDE; | 355 virtual void ScheduleComposite() OVERRIDE; |
| 358 virtual scoped_refptr<cc::ContextProvider> | 356 virtual scoped_refptr<cc::ContextProvider> |
| 359 OffscreenContextProviderForMainThread() OVERRIDE; | 357 OffscreenContextProviderForMainThread() OVERRIDE; |
| 360 virtual scoped_refptr<cc::ContextProvider> | 358 virtual scoped_refptr<cc::ContextProvider> |
| 361 OffscreenContextProviderForCompositorThread() OVERRIDE; | 359 OffscreenContextProviderForCompositorThread() OVERRIDE; |
| 362 | 360 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 bool disable_schedule_composite_; | 406 bool disable_schedule_composite_; |
| 409 | 407 |
| 410 CompositorLock* compositor_lock_; | 408 CompositorLock* compositor_lock_; |
| 411 | 409 |
| 412 DISALLOW_COPY_AND_ASSIGN(Compositor); | 410 DISALLOW_COPY_AND_ASSIGN(Compositor); |
| 413 }; | 411 }; |
| 414 | 412 |
| 415 } // namespace ui | 413 } // namespace ui |
| 416 | 414 |
| 417 #endif // UI_COMPOSITOR_COMPOSITOR_H_ | 415 #endif // UI_COMPOSITOR_COMPOSITOR_H_ |
| OLD | NEW |