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

Unified Diff: ios/web/public/test/fakes/test_web_state.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/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..86a05b2d49188c9d3e5f51c218266f56c62bc9e8 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 base::Callback<void(const gfx::Image& snapshot)>&
+ callback) const override;
base::WeakPtr<WebState> AsWeakPtr() override;
// Setters for test data.
« no previous file with comments | « no previous file | ios/web/public/test/fakes/test_web_state.mm » ('j') | ios/web/public/test/fakes/test_web_state.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698