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_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_IMPL_H_ |
6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_IMPL_H_ | 6 #define CONTENT_RENDERER_ANDROID_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 29 matching lines...) Expand all Loading... | |
40 virtual bool DemandDrawHw( | 40 virtual bool DemandDrawHw( |
41 gfx::Size view_size, | 41 gfx::Size view_size, |
42 const gfx::Transform& transform, | 42 const gfx::Transform& transform, |
43 gfx::Rect clip) OVERRIDE; | 43 gfx::Rect clip) OVERRIDE; |
44 | 44 |
45 // SynchronousCompositorOutputSurfaceDelegate | 45 // SynchronousCompositorOutputSurfaceDelegate |
46 virtual void SetContinuousInvalidate(bool enable) OVERRIDE; | 46 virtual void SetContinuousInvalidate(bool enable) OVERRIDE; |
47 virtual void DidCreateSynchronousOutputSurface() OVERRIDE; | 47 virtual void DidCreateSynchronousOutputSurface() OVERRIDE; |
48 virtual void DidDestroySynchronousOutputSurface() OVERRIDE; | 48 virtual void DidDestroySynchronousOutputSurface() OVERRIDE; |
49 | 49 |
50 // LayerScrollOffsetDelegate | |
joth
2013/05/29 00:46:25
I don't see LayerScrollOffsetDelegate in the class
mkosiba (inactive)
2013/05/29 13:18:24
Done.
| |
51 virtual void SetTotalScrollOffset(gfx::Vector2dF new_value) OVERRIDE; | |
52 virtual gfx::Vector2dF GetTotalScrollOffset() OVERRIDE; | |
53 | |
50 private: | 54 private: |
51 bool CalledOnValidThread() const; | 55 bool CalledOnValidThread() const; |
52 | 56 |
53 int routing_id_; | 57 int routing_id_; |
54 SynchronousCompositorClient* compositor_client_; | 58 SynchronousCompositorClient* compositor_client_; |
55 SynchronousCompositorOutputSurface* output_surface_; | 59 SynchronousCompositorOutputSurface* output_surface_; |
56 | 60 |
57 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorImpl); | 61 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorImpl); |
58 }; | 62 }; |
59 | 63 |
60 } // namespace content | 64 } // namespace content |
61 | 65 |
62 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_IMPL_H_ | 66 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_IMPL_H_ |
OLD | NEW |