| 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/containers/scoped_ptr_hash_map.h" | 10 #include "base/containers/scoped_ptr_hash_map.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 gfx::JavaBitmap& bitmap) OVERRIDE; | 69 gfx::JavaBitmap& bitmap) OVERRIDE; |
| 70 virtual bool CopyTextureToBitmap(GLuint texture_id, | 70 virtual bool CopyTextureToBitmap(GLuint texture_id, |
| 71 const gfx::Rect& sub_rect, | 71 const gfx::Rect& sub_rect, |
| 72 gfx::JavaBitmap& bitmap) OVERRIDE; | 72 gfx::JavaBitmap& bitmap) OVERRIDE; |
| 73 | 73 |
| 74 // LayerTreeHostClient implementation. | 74 // LayerTreeHostClient implementation. |
| 75 virtual void WillBeginMainFrame(int frame_id) OVERRIDE {} | 75 virtual void WillBeginMainFrame(int frame_id) OVERRIDE {} |
| 76 virtual void DidBeginMainFrame() OVERRIDE {} | 76 virtual void DidBeginMainFrame() OVERRIDE {} |
| 77 virtual void Animate(double frame_begin_time) OVERRIDE {} | 77 virtual void Animate(double frame_begin_time) OVERRIDE {} |
| 78 virtual void Layout() OVERRIDE {} | 78 virtual void Layout() OVERRIDE {} |
| 79 virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta, | 79 virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, |
| 80 float page_scale) OVERRIDE {} | 80 float page_scale) OVERRIDE {} |
| 81 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) | 81 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) |
| 82 OVERRIDE; | 82 OVERRIDE; |
| 83 virtual void DidInitializeOutputSurface(bool success) OVERRIDE {} | 83 virtual void DidInitializeOutputSurface(bool success) OVERRIDE {} |
| 84 virtual void WillCommit() OVERRIDE {} | 84 virtual void WillCommit() OVERRIDE {} |
| 85 virtual void DidCommit() OVERRIDE; | 85 virtual void DidCommit() OVERRIDE; |
| 86 virtual void DidCommitAndDrawFrame() OVERRIDE {} | 86 virtual void DidCommitAndDrawFrame() OVERRIDE {} |
| 87 virtual void DidCompleteSwapBuffers() OVERRIDE; | 87 virtual void DidCompleteSwapBuffers() OVERRIDE; |
| 88 virtual scoped_refptr<cc::ContextProvider> | 88 virtual scoped_refptr<cc::ContextProvider> |
| 89 OffscreenContextProvider() OVERRIDE; | 89 OffscreenContextProvider() OVERRIDE; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 120 UIResourceMap ui_resource_map_; | 120 UIResourceMap ui_resource_map_; |
| 121 | 121 |
| 122 gfx::NativeWindow root_window_; | 122 gfx::NativeWindow root_window_; |
| 123 | 123 |
| 124 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); | 124 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); |
| 125 }; | 125 }; |
| 126 | 126 |
| 127 } // namespace content | 127 } // namespace content |
| 128 | 128 |
| 129 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ | 129 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ |
| OLD | NEW |