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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.h

Issue 2769823002: Add decode() functionality to image elements. (Closed)
Patch Set: update Created 3 years, 8 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
Index: third_party/WebKit/Source/web/ChromeClientImpl.h
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.h b/third_party/WebKit/Source/web/ChromeClientImpl.h
index 46f636b85bf822391e5becf341f8a0d5cc897cc4..cb439a86fda89f6d26d00b0d9eafc637714ab516 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.h
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.h
@@ -232,6 +232,11 @@ class WEB_EXPORT ChromeClientImpl final : public ChromeClient {
WebLayerTreeView* GetWebLayerTreeView(LocalFrame*) override;
+ void RequestDecode(
+ LocalFrame*,
+ sk_sp<SkImage>,
+ std::unique_ptr<WTF::Function<void(bool)>> callback) override;
+
private:
explicit ChromeClientImpl(WebViewImpl*);

Powered by Google App Engine
This is Rietveld 408576698