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

Unified Diff: ios/chrome/browser/web/visible_url_egtest.mm

Issue 2965943002: [ios] Remove IDC_BACK and IDC_FORWARD
Patch Set: Rebase, self review. Created 3 years, 5 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/chrome/browser/web/cache_egtest.mm ('k') | ios/chrome/test/earl_grey/chrome_earl_grey.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/web/visible_url_egtest.mm
diff --git a/ios/chrome/browser/web/visible_url_egtest.mm b/ios/chrome/browser/web/visible_url_egtest.mm
index c83999d5b639f7ff369410dd7f4ba3c2d9b89ca5..70ac2a1e8f223a791877abd29cd665850db12cd4 100644
--- a/ios/chrome/browser/web/visible_url_egtest.mm
+++ b/ios/chrome/browser/web/visible_url_egtest.mm
@@ -519,12 +519,9 @@ class PausableResponseProvider : public HtmlResponseProvider {
performAction:grey_tap()];
[ChromeEarlGrey waitForWebViewContainingText:kTestPage1];
- // Quickly (using chrome command) navigate forward twice and wait for
- // kChromeUIVersionURL to load.
- GenericChromeCommand* forwardCommand =
- [[GenericChromeCommand alloc] initWithTag:IDC_FORWARD];
- chrome_test_util::RunCommandWithActiveViewController(forwardCommand);
- chrome_test_util::RunCommandWithActiveViewController(forwardCommand);
+ // Quickly navigate forward twice and wait for kChromeUIVersionURL to load.
+ [chrome_test_util::BrowserCommandDispatcherForMainBVC() goForward];
+ [chrome_test_util::BrowserCommandDispatcherForMainBVC() goForward];
const std::string version = version_info::GetVersionNumber();
[ChromeEarlGrey waitForWebViewContainingText:version];
« no previous file with comments | « ios/chrome/browser/web/cache_egtest.mm ('k') | ios/chrome/test/earl_grey/chrome_earl_grey.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698