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

Unified Diff: ios/web/web_state/web_state_impl.h

Issue 2945213002: [ios] Snapshot for WebState (Closed)
Patch Set: Created 3 years, 6 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: ios/web/web_state/web_state_impl.h
diff --git a/ios/web/web_state/web_state_impl.h b/ios/web/web_state/web_state_impl.h
index 916f62f446c182baaaed9791349b7f250dfc8b31..16eedfa35b4a7cc3563601f495ad6cde0b8ccfe5 100644
--- a/ios/web/web_state/web_state_impl.h
+++ b/ios/web/web_state/web_state_impl.h
@@ -208,6 +208,8 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate {
id<CRWWebViewProxy> GetWebViewProxy() const override;
WebStateInterfaceProvider* GetWebStateInterfaceProvider() override;
bool HasOpener() const override;
+ void TakeSnapshot(const base::Callback<void(const gfx::Image& snapshot)>&
+ callback) const override;
base::WeakPtr<WebState> AsWeakPtr() override;
// Adds |interstitial|'s view to the web controller's content view.

Powered by Google App Engine
This is Rietveld 408576698