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

Unified Diff: third_party/WebKit/Source/core/exported/WebViewBase.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/core/exported/WebViewBase.h
diff --git a/third_party/WebKit/Source/core/exported/WebViewBase.h b/third_party/WebKit/Source/core/exported/WebViewBase.h
index be06f3900a179bcc0ddabfe2a52eedd77d45140a..a80e23f9c0fd8b198528a3d9d57e3645c46230eb 100644
--- a/third_party/WebKit/Source/core/exported/WebViewBase.h
+++ b/third_party/WebKit/Source/core/exported/WebViewBase.h
@@ -125,6 +125,10 @@ class WebViewBase : public WebView, public RefCounted<WebViewBase> {
virtual WebSettingsImpl* SettingsImpl() = 0;
+ virtual void RequestDecode(
+ sk_sp<SkImage>,
+ std::unique_ptr<WTF::Function<void(bool)>> callback) = 0;
+
using WebWidget::GetPagePopup;
virtual PagePopup* OpenPagePopup(PagePopupClient*) = 0;
virtual void ClosePagePopup(PagePopup*) = 0;

Powered by Google App Engine
This is Rietveld 408576698