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

Side by Side Diff: content/browser/renderer_host/compositor_impl_android.h

Issue 13844021: Move compositor thread input handling logic into content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 7 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
« no previous file with comments | « cc/trees/thread_proxy.cc ('k') | content/browser/renderer_host/compositor_impl_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « cc/trees/thread_proxy.cc ('k') | content/browser/renderer_host/compositor_impl_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698