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

Side by Side Diff: ios/web/shell/test/earl_grey/shell_earl_grey.h

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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef IOS_WEB_SHELL_TEST_EARL_GREY_SHELL_EARL_GREY_H_
6 #define IOS_WEB_SHELL_TEST_EARL_GREY_SHELL_EARL_GREY_H_
7
8 #import <Foundation/Foundation.h>
9
10 #include "url/gurl.h"
11
12 // Test methods that perform actions on Web Shell. These methods may read or
13 // alter Web Shell's internal state programmatically or via the UI, but in both
14 // cases will properly synchronize the UI for Earl Grey tests.
15 @interface ShellEarlGrey : NSObject
16
17 // Loads |URL| in the current WebState with transition of type
18 // ui::PAGE_TRANSITION_TYPED, and waits for the page to complete loading, or
19 // a timeout.
20 + (void)loadURL:(const GURL&)URL;
21
22 @end
23
24 #endif // IOS_WEB_SHELL_TEST_EARL_GREY_SHELL_EARL_GREY_H_
OLDNEW
« no previous file with comments | « ios/web/shell/test/app/navigation_test_util.mm ('k') | ios/web/shell/test/earl_grey/shell_earl_grey.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698