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

Unified Diff: ios/web/public/test/native_controller_test_util.h

Issue 2277103003: Add GetCurrentNativeController to webstate. (Closed)
Patch Set: Fix method signature Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/BUILD.gn ('k') | ios/web/public/test/native_controller_test_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..62ed1a77301eb7030a909b4bf6e3ddd74c0e1bbd
--- /dev/null
+++ b/ios/web/public/test/native_controller_test_util.h
@@ -0,0 +1,21 @@
+// 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_PUBLIC_TEST_NATIVE_CONTROLLER_TEST_UTIL_H_
+#define IOS_WEB_PUBLIC_TEST_NATIVE_CONTROLLER_TEST_UTIL_H_
+
+#import "ios/web/public/web_state/web_state.h"
+
+@protocol CRWNativeContent;
+
+namespace web {
+namespace test {
+
+// Returns the native controller of the given |web_state|.
+id<CRWNativeContent> GetCurrentNativeController(WebState* web_state);
+
+} // namespace test
+} // namespace web
+
+#endif // IOS_WEB_PUBLIC_TEST_NATIVE_CONTROLLER_TEST_UTIL_H_
« no previous file with comments | « ios/web/BUILD.gn ('k') | ios/web/public/test/native_controller_test_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698