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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 593503003: Support error handling for Surface readbacks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatted code and fixed build issue in test. Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_view_aura.h
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h
index ee70b04cac9f2962ad1e53857050e90763c5b144..e72ed298d5eab60d7bde25baaa2a14cffbff9d4c 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -189,7 +189,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
const ViewHostMsg_SelectionBounds_Params& params) override;
void CopyFromCompositingSurface(const gfx::Rect& src_subrect,
const gfx::Size& dst_size,
- CopyFromCompositingSurfaceCallback& callback,
+ ReadbackRequestCallback& callback,
const SkColorType color_type) override;
void CopyFromCompositingSurfaceToVideoFrame(
const gfx::Rect& src_subrect,
@@ -328,7 +328,8 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
void UpdateMouseLockRegion();
#endif
- void DisambiguationPopupRendered(bool success, const SkBitmap& result);
+ void DisambiguationPopupRendered(const SkBitmap& result,
+ ReadbackResponse response);
void HideDisambiguationPopup();

Powered by Google App Engine
This is Rietveld 408576698