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

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 d79842edf90ab40707733d02b841f2bd7c28ffec..53ea6c517f6cffb0610abfe9f1a91dc8e5ec7e19 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.h
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.h
@@ -232,6 +232,10 @@ class WEB_EXPORT ChromeClientImpl final : public ChromeClient {
WebLayerTreeView* getWebLayerTreeView(LocalFrame*) override;
+ void requestDecode(
+ 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