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

Side by Side Diff: ios/web/public/test/native_controller_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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef IOS_WEB_SHELL_PUBLIC_TEST_NATIVE_CONTROLLER_TEST_UTIL_H_
Eugene But (OOO till 7-30) 2016/08/26 00:44:05 IOS_WEB_PUBLIC_TEST_NATIVE_CONTROLLER_TEST_UTIL_H_
justincohen 2016/08/26 15:40:42 Weird, why didn't presubmit catch this?
6 #define IOS_WEB_SHELL_PUBLIC_TEST_NATIVE_CONTROLLER_TEST_UTIL_H_
7
8 #import "ios/web/public/web_state/web_state.h"
9
10 namespace web {
11 namespace test {
12
13 // Returns the native controller of the current tab if the current tab is
Eugene But (OOO till 7-30) 2016/08/26 00:44:05 s/the current tab if the current tab is a new tab
justincohen 2016/08/26 15:40:42 Done.
14 // a new tab and nil otherwise.
15 id GetCurrentNativeController(WebState* web_state);
Eugene But (OOO till 7-30) 2016/08/26 00:44:05 id<CRWNativeContent> ?
justincohen 2016/08/26 15:40:42 Done.
16
17 } // namespace test
18 } // namespace web
19
20 #endif // IOS_WEB_SHELL_PUBLIC_TEST_NATIVE_CONTROLLER_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698