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

Side by Side Diff: ios/chrome/test/earl_grey/chrome_earl_grey_ui.h

Issue 2580333003: Upstream Chrome on iOS source code [10/11]. (Closed)
Patch Set: Created 4 years 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_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_
6 #define IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_
7
8 #import <Foundation/Foundation.h>
9
10 // Test methods that perform actions on Chrome. These methods only affect Chrome
11 // using the UI with Earl Grey.
12 @interface ChromeEarlGreyUI : NSObject
13
14 // Makes the toolbar visible by swiping downward, if necessary. Then taps on
15 // the Tools menu button. At least one tab needs to be open and visible when
16 // calling this method.
17 + (void)openToolsMenu;
18
19 // Open a new tab via the tools menu.
20 + (void)openNewTab;
21
22 // Open a new incognito tab via the tools menu.
23 + (void)openNewIncognitoTab;
24
25 // Reloads the page. Does not wait until reload finishes.
26 + (void)reload;
27
28 @end
29
30 #endif // IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_
OLDNEW
« no previous file with comments | « ios/chrome/test/earl_grey/chrome_earl_grey.mm ('k') | ios/chrome/test/earl_grey/chrome_earl_grey_ui.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698