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

Side by Side Diff: ios/web/public/test/web_view_interaction_test_util.mm

Issue 2605913002: Fix include import in ios/web (Closed)
Patch Set: add missing #import Created 3 years, 11 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/web/public/test/web_view_interaction_test_util.h ('k') | ios/web/public/url_schemes.mm » ('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 "ios/web/public/test/web_view_interaction_test_util.h" 5 #import "ios/web/public/test/web_view_interaction_test_util.h"
6 6
7 #include "base/mac/bind_objc_block.h" 7 #import "base/mac/bind_objc_block.h"
8 #include "base/strings/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "base/test/ios/wait_util.h" 10 #import "base/test/ios/wait_util.h"
11 #include "ios/testing/wait_util.h" 11 #import "ios/testing/wait_util.h"
12 #import "ios/web/public/web_state/crw_web_view_scroll_view_proxy.h" 12 #import "ios/web/public/web_state/crw_web_view_scroll_view_proxy.h"
13 #import "ios/web/web_state/crw_web_view_proxy_impl.h" 13 #import "ios/web/web_state/crw_web_view_proxy_impl.h"
14 #import "ios/web/web_state/ui/crw_web_controller.h" 14 #import "ios/web/web_state/ui/crw_web_controller.h"
15 #include "ios/web/web_state/web_state_impl.h" 15 #import "ios/web/web_state/web_state_impl.h"
16 16
17 using web::NavigationManager; 17 using web::NavigationManager;
18 18
19 namespace web { 19 namespace web {
20 namespace test { 20 namespace test {
21 21
22 enum ElementAction { 22 enum ElementAction {
23 ELEMENT_ACTION_CLICK, 23 ELEMENT_ACTION_CLICK,
24 ELEMENT_ACTION_FOCUS, 24 ELEMENT_ACTION_FOCUS,
25 ELEMENT_ACTION_SUBMIT 25 ELEMENT_ACTION_SUBMIT
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 } 167 }
168 168
169 bool SubmitWebViewFormWithId(web::WebState* web_state, 169 bool SubmitWebViewFormWithId(web::WebState* web_state,
170 const std::string& form_id) { 170 const std::string& form_id) {
171 return RunActionOnWebViewElementWithId(web_state, form_id, 171 return RunActionOnWebViewElementWithId(web_state, form_id,
172 ELEMENT_ACTION_SUBMIT); 172 ELEMENT_ACTION_SUBMIT);
173 } 173 }
174 174
175 } // namespace test 175 } // namespace test
176 } // namespace web 176 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/public/test/web_view_interaction_test_util.h ('k') | ios/web/public/url_schemes.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698