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

Unified Diff: ios/web/test/web_test.h

Issue 2032903002: [ios] Added WebTestWithWebController::web_state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved WebTestWithWebController::web_state to implementation. Created 4 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
« no previous file with comments | « no previous file | ios/web/test/web_test.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/test/web_test.h
diff --git a/ios/web/test/web_test.h b/ios/web/test/web_test.h
index 4b9a1ff79beafcacdbf6a5062a9f645e036dc81f..86e1f6ab3e39bc03bbf787afe9a6e65369df6ba6 100644
--- a/ios/web/test/web_test.h
+++ b/ios/web/test/web_test.h
@@ -84,6 +84,9 @@ class WebTestWithWebController : public WebTest,
void WillProcessTask(const base::PendingTask& pending_task) override;
void DidProcessTask(const base::PendingTask& pending_task) override;
+ // Returns web state for this web controller.
+ web::WebState* web_state();
+
// The web controller for testing.
base::WeakNSObject<CRWWebController> webController_;
// true if a task has been processed.
« no previous file with comments | « no previous file | ios/web/test/web_test.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698