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

Unified Diff: ios/web/public/test/fakes/test_web_state.mm

Issue 2807843002: Refactor creation of SadTabView into a tab helper object (Closed)
Patch Set: Created 3 years, 8 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.mm
diff --git a/ios/web/public/test/fakes/test_web_state.mm b/ios/web/public/test/fakes/test_web_state.mm
index 293473e10266e5fd92d5ab5042c32ff1f3f98912..cd4d7226ab40f0fd5fc83cd431ee5329524a51f7 100644
--- a/ios/web/public/test/fakes/test_web_state.mm
+++ b/ios/web/public/test/fakes/test_web_state.mm
@@ -176,6 +176,13 @@ void TestWebState::OnProvisionalNavigationStarted(const GURL& url) {
observer.ProvisionalNavigationStarted(url);
}
+void TestWebState::OnRenderProcessGone() {
+ for (auto& observer : observers_)
+ observer.RenderProcessGone();
+}
+
+void TestWebState::ShowTransientContentView(CRWContentView* content_view) {}
+
void TestWebState::SetCurrentURL(const GURL& url) {
url_ = url;
}
« ios/chrome/browser/web/tab_helper_delegate.h ('K') | « ios/web/public/test/fakes/test_web_state.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698