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

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

Issue 2769823002: Add decode() functionality to image elements. (Closed)
Patch Set: rebase + update 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 eca558047b2b4850870e36df7c89d51eec2ceafb..d4360a4decb96ef0f87548548abe16d9d96b9163 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.h
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.h
@@ -239,6 +239,11 @@ class WEB_EXPORT ChromeClientImpl final : public ChromeClient {
WebLocalFrameBase* GetWebLocalFrameBase(LocalFrame*) override;
+ void RequestDecode(
+ LocalFrame*,
+ sk_sp<SkImage>,
+ std::unique_ptr<WTF::Function<void(bool)>> callback) override;
+
private:
explicit ChromeClientImpl(WebViewBase*);

Powered by Google App Engine
This is Rietveld 408576698