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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/test/earl_grey/chrome_earl_grey_ui.h
diff --git a/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h b/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h
new file mode 100644
index 0000000000000000000000000000000000000000..60b22333e0d35c8a6a19a63793c9d1b6465d2138
--- /dev/null
+++ b/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h
@@ -0,0 +1,30 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_
+#define IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_
+
+#import <Foundation/Foundation.h>
+
+// Test methods that perform actions on Chrome. These methods only affect Chrome
+// using the UI with Earl Grey.
+@interface ChromeEarlGreyUI : NSObject
+
+// Makes the toolbar visible by swiping downward, if necessary. Then taps on
+// the Tools menu button. At least one tab needs to be open and visible when
+// calling this method.
++ (void)openToolsMenu;
+
+// Open a new tab via the tools menu.
++ (void)openNewTab;
+
+// Open a new incognito tab via the tools menu.
++ (void)openNewIncognitoTab;
+
+// Reloads the page. Does not wait until reload finishes.
++ (void)reload;
+
+@end
+
+#endif // IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_
« 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