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

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

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
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 #ifndef IOS_WEB_PUBLIC_TEST_WEB_VIEW_INTERACTION_TEST_UTIL_H_ 5 #ifndef IOS_WEB_PUBLIC_TEST_WEB_VIEW_INTERACTION_TEST_UTIL_H_
6 #define IOS_WEB_PUBLIC_TEST_WEB_VIEW_INTERACTION_TEST_UTIL_H_ 6 #define IOS_WEB_PUBLIC_TEST_WEB_VIEW_INTERACTION_TEST_UTIL_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/ios/block_types.h" 12 #import "base/ios/block_types.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 14
15 #import "ios/web/public/web_state/web_state.h" 15 #import "ios/web/public/web_state/web_state.h"
16 16
17 namespace web { 17 namespace web {
18 namespace test { 18 namespace test {
19 19
20 // Synchronously returns the result of executed JavaScript, returning nullptr 20 // Synchronously returns the result of executed JavaScript, returning nullptr
21 // if the JavaScript does not complete. 21 // if the JavaScript does not complete.
22 std::unique_ptr<base::Value> ExecuteJavaScript(web::WebState* web_state, 22 std::unique_ptr<base::Value> ExecuteJavaScript(web::WebState* web_state,
(...skipping 18 matching lines...) Expand all
41 const std::string& element_id); 41 const std::string& element_id);
42 42
43 // Returns whether the form with |form_id| in the passed |web_state| has been 43 // Returns whether the form with |form_id| in the passed |web_state| has been
44 // submitted using a JavaScript submit() event. 44 // submitted using a JavaScript submit() event.
45 bool SubmitWebViewFormWithId(web::WebState* web_state, 45 bool SubmitWebViewFormWithId(web::WebState* web_state,
46 const std::string& form_id); 46 const std::string& form_id);
47 } // namespace test 47 } // namespace test
48 } // namespace web 48 } // namespace web
49 49
50 #endif // IOS_WEB_PUBLIC_TEST_WEB_VIEW_INTERACTION_TEST_UTIL_H_ 50 #endif // IOS_WEB_PUBLIC_TEST_WEB_VIEW_INTERACTION_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « ios/web/public/test/web_test_with_web_state.mm ('k') | ios/web/public/test/web_view_interaction_test_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698