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

Unified Diff: ios/web/public/test/web_test_with_web_state.h

Issue 2717613006: Moved ios popup opening code from Tab to BlockedPopupTabHelper. (Closed)
Patch Set: Rebased Created 3 years, 10 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/web_test_with_web_state.h
diff --git a/ios/web/public/test/web_test_with_web_state.h b/ios/web/public/test/web_test_with_web_state.h
index 74eb958d5b4c5509c66b0cecee1c2daec7ad72f8..b167056f398810c4538c4f91c8b2ff65a5f34798 100644
--- a/ios/web/public/test/web_test_with_web_state.h
+++ b/ios/web/public/test/web_test_with_web_state.h
@@ -39,6 +39,8 @@ class WebTestWithWebState : public WebTest,
void WaitForCondition(ConditionBlock condition);
// Synchronously executes JavaScript and returns result as id.
id ExecuteJavaScript(NSString* script);
+ // Destroys underlying WebState. web_state() will return null after this call.
+ void DestroyWebState();
// Returns the base URL of the loaded page.
std::string BaseUrl() const;
« no previous file with comments | « ios/web/public/test/fakes/test_web_state_delegate.mm ('k') | ios/web/public/test/web_test_with_web_state.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698