OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_IMPL_H_ |
6 #define CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_IMPL_H_ | 6 #define CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_IMPL_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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 virtual void DidChangeRootLayerScrollOffset() OVERRIDE; | 63 virtual void DidChangeRootLayerScrollOffset() OVERRIDE; |
64 | 64 |
65 // SynchronousCompositorOutputSurfaceDelegate | 65 // SynchronousCompositorOutputSurfaceDelegate |
66 virtual void DidBindOutputSurface( | 66 virtual void DidBindOutputSurface( |
67 SynchronousCompositorOutputSurface* output_surface) OVERRIDE; | 67 SynchronousCompositorOutputSurface* output_surface) OVERRIDE; |
68 virtual void DidDestroySynchronousOutputSurface( | 68 virtual void DidDestroySynchronousOutputSurface( |
69 SynchronousCompositorOutputSurface* output_surface) OVERRIDE; | 69 SynchronousCompositorOutputSurface* output_surface) OVERRIDE; |
70 virtual void SetContinuousInvalidate(bool enable) OVERRIDE; | 70 virtual void SetContinuousInvalidate(bool enable) OVERRIDE; |
71 virtual void UpdateFrameMetaData( | 71 virtual void UpdateFrameMetaData( |
72 const cc::CompositorFrameMetadata& frame_info) OVERRIDE; | 72 const cc::CompositorFrameMetadata& frame_info) OVERRIDE; |
| 73 virtual void DeliverMessages( |
| 74 const std::vector<IPC::Message>& messages) OVERRIDE; |
73 virtual void DidActivatePendingTree() OVERRIDE; | 75 virtual void DidActivatePendingTree() OVERRIDE; |
74 | 76 |
75 // LayerScrollOffsetDelegate | 77 // LayerScrollOffsetDelegate |
76 virtual gfx::Vector2dF GetTotalScrollOffset() OVERRIDE; | 78 virtual gfx::Vector2dF GetTotalScrollOffset() OVERRIDE; |
77 virtual void UpdateRootLayerState(const gfx::Vector2dF& total_scroll_offset, | 79 virtual void UpdateRootLayerState(const gfx::Vector2dF& total_scroll_offset, |
78 const gfx::Vector2dF& max_scroll_offset, | 80 const gfx::Vector2dF& max_scroll_offset, |
79 const gfx::SizeF& scrollable_size, | 81 const gfx::SizeF& scrollable_size, |
80 float page_scale_factor, | 82 float page_scale_factor, |
81 float min_page_scale_factor, | 83 float min_page_scale_factor, |
82 float max_page_scale_factor) OVERRIDE; | 84 float max_page_scale_factor) OVERRIDE; |
(...skipping 16 matching lines...) Expand all Loading... |
99 SynchronousCompositorOutputSurface* output_surface_; | 101 SynchronousCompositorOutputSurface* output_surface_; |
100 WebContents* contents_; | 102 WebContents* contents_; |
101 cc::InputHandler* input_handler_; | 103 cc::InputHandler* input_handler_; |
102 | 104 |
103 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorImpl); | 105 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorImpl); |
104 }; | 106 }; |
105 | 107 |
106 } // namespace content | 108 } // namespace content |
107 | 109 |
108 #endif // CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_IMPL_H_ | 110 #endif // CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_IMPL_H_ |
OLD | NEW |