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

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

Issue 2277103003: Add GetCurrentNativeController to webstate. (Closed)
Patch Set: Created 4 years, 3 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_SHELL_PUBLIC_TEST_NAVIGATION_TEST_UTIL_H_ 5 #ifndef IOS_WEB_SHELL_PUBLIC_TEST_NAVIGATION_TEST_UTIL_H_
6 #define IOS_WEB_SHELL_PUBLIC_TEST_NAVIGATION_TEST_UTIL_H_ 6 #define IOS_WEB_SHELL_PUBLIC_TEST_NAVIGATION_TEST_UTIL_H_
7 7
8 #import "ios/web/public/web_state/web_state.h" 8 #import "ios/web/public/web_state/web_state.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
11 namespace web { 11 namespace web {
12 namespace test { 12 namespace test {
13 13
14 // Loads |url| in |web_state| with transition of type ui::PAGE_TRANSITION_TYPED. 14 // Loads |url| in |web_state| with transition of type ui::PAGE_TRANSITION_TYPED.
15 void LoadUrl(web::WebState* web_state, const GURL& url); 15 void LoadUrl(web::WebState* web_state, const GURL& url);
16 16
17 } // namespace test 17 } // namespace test
18 } // namespace web 18 } // namespace web
19 19
20 #endif // IOS_WEB_SHELL_PUBLIC_TEST_NAVIGATION_TEST_UTIL_H_ 20 #endif // IOS_WEB_SHELL_PUBLIC_TEST_NAVIGATION_TEST_UTIL_H_
Eugene But (OOO till 7-30) 2016/08/26 00:44:05 Please drop this change. Could you please file a b
justincohen 2016/08/26 15:40:42 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698