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

Unified Diff: ios/web/public/test/fakes/test_web_state.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/public/test/fakes/test_web_state.h
diff --git a/ios/web/public/test/fakes/test_web_state.h b/ios/web/public/test/fakes/test_web_state.h
index d98f99e5401863ff710094500d9180467b88bc86..54ebabfad62b22559850f0028ab85fcfd69dbea5 100644
--- a/ios/web/public/test/fakes/test_web_state.h
+++ b/ios/web/public/test/fakes/test_web_state.h
@@ -76,6 +76,8 @@ class TestWebState : public WebState {
void RemovePolicyDecider(WebStatePolicyDecider* decider) override {}
WebStateInterfaceProvider* GetWebStateInterfaceProvider() override;
bool HasOpener() const override;
+ void TakeSnapshot(const SnapshotCallback& callback,
+ const CGSize target_size) const override;
Eugene But (OOO till 7-30) 2017/06/23 20:36:17 Optional nit: I think it is super uncommon to have
base::WeakPtr<WebState> AsWeakPtr() override;
// Setters for test data.

Powered by Google App Engine
This is Rietveld 408576698