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

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

Issue 176943004: [Android] Implement asynchronous zero-copy bitmap capture API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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
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_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 size_t offset, 190 size_t offset,
191 const gfx::Range& range) OVERRIDE; 191 const gfx::Range& range) OVERRIDE;
192 virtual void SelectionBoundsChanged( 192 virtual void SelectionBoundsChanged(
193 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; 193 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE;
194 virtual void ScrollOffsetChanged() OVERRIDE; 194 virtual void ScrollOffsetChanged() OVERRIDE;
195 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 195 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
196 virtual void CopyFromCompositingSurface( 196 virtual void CopyFromCompositingSurface(
197 const gfx::Rect& src_subrect, 197 const gfx::Rect& src_subrect,
198 const gfx::Size& dst_size, 198 const gfx::Size& dst_size,
199 const base::Callback<void(bool, const SkBitmap&)>& callback, 199 const base::Callback<void(bool, const SkBitmap&)>& callback,
200 const SkBitmap::Config config) OVERRIDE; 200 const SkBitmap::Config config,
201 scoped_ptr<SkBitmap> bitmap) OVERRIDE;
201 virtual void CopyFromCompositingSurfaceToVideoFrame( 202 virtual void CopyFromCompositingSurfaceToVideoFrame(
202 const gfx::Rect& src_subrect, 203 const gfx::Rect& src_subrect,
203 const scoped_refptr<media::VideoFrame>& target, 204 const scoped_refptr<media::VideoFrame>& target,
204 const base::Callback<void(bool)>& callback) OVERRIDE; 205 const base::Callback<void(bool)>& callback) OVERRIDE;
205 virtual bool CanCopyToVideoFrame() const OVERRIDE; 206 virtual bool CanCopyToVideoFrame() const OVERRIDE;
206 virtual bool CanSubscribeFrame() const OVERRIDE; 207 virtual bool CanSubscribeFrame() const OVERRIDE;
207 virtual void BeginFrameSubscription( 208 virtual void BeginFrameSubscription(
208 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; 209 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE;
209 virtual void EndFrameSubscription() OVERRIDE; 210 virtual void EndFrameSubscription() OVERRIDE;
210 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 211 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 // etc. 792 // etc.
792 scoped_ptr<content::LegacyRenderWidgetHostHWND> 793 scoped_ptr<content::LegacyRenderWidgetHostHWND>
793 legacy_render_widget_host_HWND_; 794 legacy_render_widget_host_HWND_;
794 #endif 795 #endif
795 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 796 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
796 }; 797 };
797 798
798 } // namespace content 799 } // namespace content
799 800
800 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 801 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698