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

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

Issue 2769823002: Add decode() functionality to image elements. (Closed)
Patch Set: update Created 3 years, 9 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/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index 423979ccaf185dd5f323b03bd6a77a6b8a645a1e..a54e7f1d367a4d5baea29ea172420cefb7b823cf 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -514,6 +514,9 @@ class WEB_EXPORT WebViewImpl final
// root.
WebInputMethodControllerImpl* getActiveWebInputMethodController() const;
+ void requestDecode(sk_sp<SkImage>,
+ std::unique_ptr<WTF::Function<void(bool)>> callback);
+
private:
InspectorOverlay* inspectorOverlay();

Powered by Google App Engine
This is Rietveld 408576698