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

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

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 | « ios/web/test/web_test.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/test/web_test.mm
diff --git a/ios/web/test/web_test.mm b/ios/web/test/web_test.mm
index 2dae64ea3c4a06eb38c9064db738de1b2671c402..dd4d48672c971b65e256ab830d02a3d94a5a0538 100644
--- a/ios/web/test/web_test.mm
+++ b/ios/web/test/web_test.mm
@@ -201,6 +201,10 @@ void WebTestWithWebController::DidProcessTask(
processed_a_task_ = true;
}
+web::WebState* WebTestWithWebController::web_state() {
+ return web_state_impl_.get();
+}
+
bool WebTestWithWebController::ResetPageIfNavigationStalled(
NSString* load_check) {
NSString* inner_html = EvaluateJavaScriptAsString(
« no previous file with comments | « ios/web/test/web_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698