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

Side by Side Diff: ios/chrome/browser/ui/dialogs/javascript_dialog_egtest.mm

Issue 2898733003: Split up ios/web:test_support. (Closed)
Patch Set: don't break downstream clients Created 3 years, 6 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
« no previous file with comments | « ios/chrome/browser/ui/dialogs/BUILD.gn ('k') | ios/chrome/browser/ui/downloads/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #import <EarlGrey/EarlGrey.h> 5 #import <EarlGrey/EarlGrey.h>
6 #import <UIKit/UIKit.h> 6 #import <UIKit/UIKit.h>
7 #import <XCTest/XCTest.h> 7 #import <XCTest/XCTest.h>
8 8
9 #import "base/strings/sys_string_conversions.h" 9 #import "base/strings/sys_string_conversions.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "components/strings/grit/components_strings.h" 11 #include "components/strings/grit/components_strings.h"
12 #import "ios/chrome/browser/ui/dialogs/dialog_presenter.h" 12 #import "ios/chrome/browser/ui/dialogs/dialog_presenter.h"
13 #include "ios/chrome/browser/ui/tools_menu/tools_menu_constants.h" 13 #include "ios/chrome/browser/ui/tools_menu/tools_menu_constants.h"
14 #include "ios/chrome/browser/ui/ui_util.h" 14 #include "ios/chrome/browser/ui/ui_util.h"
15 #include "ios/chrome/grit/ios_strings.h" 15 #include "ios/chrome/grit/ios_strings.h"
16 #include "ios/chrome/test/app/chrome_test_util.h" 16 #include "ios/chrome/test/app/chrome_test_util.h"
17 #import "ios/chrome/test/earl_grey/chrome_actions.h" 17 #import "ios/chrome/test/earl_grey/chrome_actions.h"
18 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h" 18 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
19 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h" 19 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h"
20 #import "ios/chrome/test/earl_grey/chrome_matchers.h" 20 #import "ios/chrome/test/earl_grey/chrome_matchers.h"
21 #import "ios/chrome/test/earl_grey/chrome_test_case.h" 21 #import "ios/chrome/test/earl_grey/chrome_test_case.h"
22 #import "ios/testing/earl_grey/matchers.h" 22 #import "ios/testing/earl_grey/matchers.h"
23 #import "ios/testing/wait_util.h" 23 #import "ios/testing/wait_util.h"
24 #import "ios/web/public/test/http_server.h" 24 #import "ios/web/public/test/http_server/http_server.h"
25 #import "ios/web/public/test/http_server_util.h" 25 #include "ios/web/public/test/http_server/http_server_util.h"
26 #include "ios/web/public/test/url_test_util.h" 26 #include "ios/web/public/test/url_test_util.h"
27 #include "ios/web/public/web_state/web_state.h" 27 #include "ios/web/public/web_state/web_state.h"
28 #include "ui/base/l10n/l10n_util.h" 28 #include "ui/base/l10n/l10n_util.h"
29 #include "ui/base/l10n/l10n_util_mac.h" 29 #include "ui/base/l10n/l10n_util_mac.h"
30 #import "url/gurl.h" 30 #import "url/gurl.h"
31 31
32 #if !defined(__has_feature) || !__has_feature(objc_arc) 32 #if !defined(__has_feature) || !__has_feature(objc_arc)
33 #error "This file requires ARC support." 33 #error "This file requires ARC support."
34 #endif 34 #endif
35 35
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 589
590 // Reenable synchronization on iPads now that the dialog has been dismissed. 590 // Reenable synchronization on iPads now that the dialog has been dismissed.
591 if (IsIPadIdiom()) { 591 if (IsIPadIdiom()) {
592 [[GREYConfiguration sharedInstance] 592 [[GREYConfiguration sharedInstance]
593 setValue:@(YES) 593 setValue:@(YES)
594 forConfigKey:kGREYConfigKeySynchronizationEnabled]; 594 forConfigKey:kGREYConfigKeySynchronizationEnabled];
595 } 595 }
596 } 596 }
597 597
598 @end 598 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/dialogs/BUILD.gn ('k') | ios/chrome/browser/ui/downloads/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698