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 CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 gfx::JavaBitmap& bitmap) OVERRIDE; | 68 gfx::JavaBitmap& bitmap) OVERRIDE; |
69 | 69 |
70 // LayerTreeHostClient implementation. | 70 // LayerTreeHostClient implementation. |
71 virtual void WillBeginFrame() OVERRIDE {} | 71 virtual void WillBeginFrame() OVERRIDE {} |
72 virtual void DidBeginFrame() OVERRIDE {} | 72 virtual void DidBeginFrame() OVERRIDE {} |
73 virtual void Animate(double frame_begin_time) OVERRIDE {} | 73 virtual void Animate(double frame_begin_time) OVERRIDE {} |
74 virtual void Layout() OVERRIDE {} | 74 virtual void Layout() OVERRIDE {} |
75 virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta, | 75 virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta, |
76 float page_scale) OVERRIDE {} | 76 float page_scale) OVERRIDE {} |
77 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface() OVERRIDE; | 77 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface() OVERRIDE; |
78 virtual scoped_ptr<cc::InputHandlerClient> CreateInputHandlerClient() | |
79 OVERRIDE; | |
80 virtual void DidInitializeOutputSurface(bool success) OVERRIDE {} | 78 virtual void DidInitializeOutputSurface(bool success) OVERRIDE {} |
81 virtual void WillCommit() OVERRIDE {} | 79 virtual void WillCommit() OVERRIDE {} |
82 virtual void DidCommit() OVERRIDE {} | 80 virtual void DidCommit() OVERRIDE {} |
83 virtual void DidCommitAndDrawFrame() OVERRIDE {} | 81 virtual void DidCommitAndDrawFrame() OVERRIDE {} |
84 virtual void DidCompleteSwapBuffers() OVERRIDE; | 82 virtual void DidCompleteSwapBuffers() OVERRIDE; |
85 virtual void ScheduleComposite() OVERRIDE; | 83 virtual void ScheduleComposite() OVERRIDE; |
86 virtual scoped_refptr<cc::ContextProvider> | 84 virtual scoped_refptr<cc::ContextProvider> |
87 OffscreenContextProviderForMainThread() OVERRIDE; | 85 OffscreenContextProviderForMainThread() OVERRIDE; |
88 virtual scoped_refptr<cc::ContextProvider> | 86 virtual scoped_refptr<cc::ContextProvider> |
89 OffscreenContextProviderForCompositorThread() OVERRIDE; | 87 OffscreenContextProviderForCompositorThread() OVERRIDE; |
(...skipping 21 matching lines...) Expand all Loading... |
111 base::WeakPtrFactory<CompositorImpl> weak_factory_; | 109 base::WeakPtrFactory<CompositorImpl> weak_factory_; |
112 | 110 |
113 scoped_refptr<cc::ContextProvider> null_offscreen_context_provider_; | 111 scoped_refptr<cc::ContextProvider> null_offscreen_context_provider_; |
114 | 112 |
115 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); | 113 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); |
116 }; | 114 }; |
117 | 115 |
118 } // namespace content | 116 } // namespace content |
119 | 117 |
120 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ | 118 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ |
OLD | NEW |