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

Side by Side Diff: ios/web/shell/test/app/navigation_test_util.mm

Issue 2340533004: [ios] Implemented -[ShellEarlGrey loadURL:]. (Closed)
Patch Set: Addressed review comments Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ios/web/shell/test/app/navigation_test_util.h" 5 #include "ios/web/shell/test/app/navigation_test_util.h"
6 6
7 #import "ios/web/public/test/navigation_test_util.h" 7 #import "ios/web/public/test/navigation_test_util.h"
8 #import "ios/web/shell/test/app/web_shell_test_util.h" 8 #import "ios/web/shell/test/app/web_shell_test_util.h"
9 9
10 namespace web { 10 namespace web {
11 namespace shell_test_util { 11 namespace shell_test_util {
12 12
13 void LoadUrl(const GURL& url) { 13 void LoadUrl(const GURL& url) {
14 web::test::LoadUrl(GetCurrentWebState(), url); 14 web::test::LoadUrl(GetCurrentWebState(), url);
15 } 15 }
16 16
17 bool IsLoading() {
18 return GetCurrentWebState()->IsLoading();
19 }
20
17 } // namespace shell_test_util 21 } // namespace shell_test_util
18 } // namespace web 22 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/shell/test/app/navigation_test_util.h ('k') | ios/web/shell/test/earl_grey/shell_earl_grey.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698