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

Unified Diff: content/renderer/gpu/render_widget_compositor.h

Issue 2769823002: Add decode() functionality to image elements. (Closed)
Patch Set: rebase Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/render_widget_compositor.h
diff --git a/content/renderer/gpu/render_widget_compositor.h b/content/renderer/gpu/render_widget_compositor.h
index a0b64ffa7688ddb4be15bc6f674d422f064bdfcd..4640b385f2c832b506bde1f00c5dfa082a7f57bb 100644
--- a/content/renderer/gpu/render_widget_compositor.h
+++ b/content/renderer/gpu/render_widget_compositor.h
@@ -182,6 +182,8 @@ class CONTENT_EXPORT RenderWidgetCompositor
// TODO(ianwen): Move this method to WebLayerTreeView and implement main
// thread scrolling.
virtual void setBottomControlsHeight(float height);
+ void RequestDecode(sk_sp<SkImage> image,
+ const base::Callback<void(bool)>& callback) override;
// cc::LayerTreeHostClient implementation.
void WillBeginMainFrame() override;
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698