Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Side by Side Diff: content/renderer/android/synchronous_compositor_impl.h

Issue 15002007: Delegate root layer scroll offset to android_webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase on top of crrev.com/15875009 Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698