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

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

Issue 2945213002: [ios] Snapshot for WebState (Closed)
Patch Set: Address comments. 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..b37f10deaa3c8cfcdfd069be5e546813b276c889 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 SnapshotCallback& callback,
+ const CGSize target_size) 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