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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_guest.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; 93 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE;
94 virtual void SelectionChanged(const base::string16& text, 94 virtual void SelectionChanged(const base::string16& text,
95 size_t offset, 95 size_t offset,
96 const gfx::Range& range) OVERRIDE; 96 const gfx::Range& range) OVERRIDE;
97 virtual void SelectionBoundsChanged( 97 virtual void SelectionBoundsChanged(
98 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; 98 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE;
99 virtual void CopyFromCompositingSurface( 99 virtual void CopyFromCompositingSurface(
100 const gfx::Rect& src_subrect, 100 const gfx::Rect& src_subrect,
101 const gfx::Size& dst_size, 101 const gfx::Size& dst_size,
102 const base::Callback<void(bool, const SkBitmap&)>& callback, 102 const base::Callback<void(bool, const SkBitmap&)>& callback,
103 const SkBitmap::Config config) OVERRIDE; 103 const SkBitmap::Config config,
104 scoped_ptr<SkBitmap> bitmap) OVERRIDE;
104 virtual void AcceleratedSurfaceBuffersSwapped( 105 virtual void AcceleratedSurfaceBuffersSwapped(
105 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 106 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
106 int gpu_host_id) OVERRIDE; 107 int gpu_host_id) OVERRIDE;
107 virtual void AcceleratedSurfacePostSubBuffer( 108 virtual void AcceleratedSurfacePostSubBuffer(
108 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, 109 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
109 int gpu_host_id) OVERRIDE; 110 int gpu_host_id) OVERRIDE;
110 virtual void OnSwapCompositorFrame( 111 virtual void OnSwapCompositorFrame(
111 uint32 output_surface_id, 112 uint32 output_surface_id,
112 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; 113 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE;
113 virtual void SetHasHorizontalScrollbar( 114 virtual void SetHasHorizontalScrollbar(
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 RenderWidgetHostViewPort* platform_view_; 186 RenderWidgetHostViewPort* platform_view_;
186 #if defined(OS_WIN) || defined(USE_AURA) 187 #if defined(OS_WIN) || defined(USE_AURA)
187 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; 188 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_;
188 #endif // defined(OS_WIN) || defined(USE_AURA) 189 #endif // defined(OS_WIN) || defined(USE_AURA)
189 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 190 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
190 }; 191 };
191 192
192 } // namespace content 193 } // namespace content
193 194
194 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 195 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698