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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.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
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 20b7e22363ec7f3627dc6d48429c4beed0e1a517..c6d9fc23c317a82708a71815d85376769892bc3f 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.h
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.h
@@ -240,6 +240,11 @@ class WEB_EXPORT ChromeClientImpl final : public ChromeClient {
WebRemoteFrameBase* GetWebRemoteFrameBase(RemoteFrame&) override;
+ void RequestDecode(
+ LocalFrame*,
+ sk_sp<SkImage>,
+ std::unique_ptr<WTF::Function<void(bool)>> callback) override;
+
private:
explicit ChromeClientImpl(WebViewBase*);
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 ('k') | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698