Index: ios/web/public/test/native_controller_test_util.h |
diff --git a/ios/web/public/test/native_controller_test_util.h b/ios/web/public/test/native_controller_test_util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d7c6e8828563f5147333f81fc93c5aca084a388a |
--- /dev/null |
+++ b/ios/web/public/test/native_controller_test_util.h |
@@ -0,0 +1,20 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#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?
|
+#define IOS_WEB_SHELL_PUBLIC_TEST_NATIVE_CONTROLLER_TEST_UTIL_H_ |
+ |
+#import "ios/web/public/web_state/web_state.h" |
+ |
+namespace web { |
+namespace test { |
+ |
+// 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.
|
+// a new tab and nil otherwise. |
+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.
|
+ |
+} // namespace test |
+} // namespace web |
+ |
+#endif // IOS_WEB_SHELL_PUBLIC_TEST_NATIVE_CONTROLLER_TEST_UTIL_H_ |