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

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

Issue 23648014: cc: Move TextureMailbox::ReleaseCallback to SingleReleaseCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: releasecallback: SingleReleaseCallback Created 7 years, 3 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 (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_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 18 matching lines...) Expand all
29 29
30 struct ViewHostMsg_TextInputState_Params; 30 struct ViewHostMsg_TextInputState_Params;
31 31
32 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; 32 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params;
33 struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; 33 struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params;
34 34
35 namespace cc { 35 namespace cc {
36 class CopyOutputResult; 36 class CopyOutputResult;
37 class DelegatedRendererLayer; 37 class DelegatedRendererLayer;
38 class Layer; 38 class Layer;
39 class SingleReleaseCallback;
39 class TextureLayer; 40 class TextureLayer;
40 } 41 }
41 42
42 namespace WebKit { 43 namespace WebKit {
43 class WebExternalTextureLayer; 44 class WebExternalTextureLayer;
44 class WebTouchEvent; 45 class WebTouchEvent;
45 class WebMouseEvent; 46 class WebMouseEvent;
46 } 47 }
47 48
48 namespace content { 49 namespace content {
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 virtual void AccessibilityScrollToPoint( 181 virtual void AccessibilityScrollToPoint(
181 int acc_obj_id, gfx::Point point) OVERRIDE; 182 int acc_obj_id, gfx::Point point) OVERRIDE;
182 virtual void AccessibilitySetTextSelection( 183 virtual void AccessibilitySetTextSelection(
183 int acc_obj_id, int start_offset, int end_offset) OVERRIDE; 184 int acc_obj_id, int start_offset, int end_offset) OVERRIDE;
184 virtual gfx::Point GetLastTouchEventLocation() const OVERRIDE; 185 virtual gfx::Point GetLastTouchEventLocation() const OVERRIDE;
185 virtual void FatalAccessibilityTreeError() OVERRIDE; 186 virtual void FatalAccessibilityTreeError() OVERRIDE;
186 187
187 // cc::TextureLayerClient implementation. 188 // cc::TextureLayerClient implementation.
188 virtual unsigned PrepareTexture() OVERRIDE; 189 virtual unsigned PrepareTexture() OVERRIDE;
189 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE; 190 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE;
190 virtual bool PrepareTextureMailbox(cc::TextureMailbox* mailbox, 191 virtual bool PrepareTextureMailbox(
191 bool use_shared_memory) OVERRIDE; 192 cc::TextureMailbox* mailbox,
193 scoped_ptr<cc::SingleReleaseCallback>* release_callback,
194 bool use_shared_memory) OVERRIDE;
192 195
193 // cc::DelegatedRendererLayerClient implementation. 196 // cc::DelegatedRendererLayerClient implementation.
194 virtual void DidCommitFrameData() OVERRIDE; 197 virtual void DidCommitFrameData() OVERRIDE;
195 198
196 // ImageTransportFactoryAndroidObserver implementation. 199 // ImageTransportFactoryAndroidObserver implementation.
197 virtual void OnLostResources() OVERRIDE; 200 virtual void OnLostResources() OVERRIDE;
198 201
199 // Non-virtual methods 202 // Non-virtual methods
200 void SetContentViewCore(ContentViewCoreImpl* content_view_core); 203 void SetContentViewCore(ContentViewCoreImpl* content_view_core);
201 SkColor GetCachedBackgroundColor() const; 204 SkColor GetCachedBackgroundColor() const;
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 // Used to render overscroll overlays. 327 // Used to render overscroll overlays.
325 bool overscroll_effect_enabled_; 328 bool overscroll_effect_enabled_;
326 scoped_ptr<OverscrollGlow> overscroll_effect_; 329 scoped_ptr<OverscrollGlow> overscroll_effect_;
327 330
328 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 331 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
329 }; 332 };
330 333
331 } // namespace content 334 } // namespace content
332 335
333 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 336 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_pixeltest_readback.cc ('k') | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698