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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.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/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index b681fe681b38e926cebd2ea1c237657200edeb7e..9f2749e6e388e83dafa304bee47146c01f4b1da8 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -511,6 +511,10 @@ class WEB_EXPORT WebViewImpl final
last_hidden_page_popup_ = page_popup;
}
+ void RequestDecode(
+ sk_sp<SkImage>,
+ std::unique_ptr<WTF::Function<void(bool)>> callback) override;
+
private:
void SetPageScaleFactorAndLocation(float, const FloatPoint&);
void PropagateZoomFactorToLocalFrameRoots(Frame*, float);

Powered by Google App Engine
This is Rietveld 408576698