OLD | NEW |
| (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_PUBLIC_TEST_TEST_NATIVE_CONTENT_PROVIDER_H_ | |
6 #define IOS_WEB_PUBLIC_TEST_TEST_NATIVE_CONTENT_PROVIDER_H_ | |
7 | |
8 #import "ios/web/public/web_state/ui/crw_native_content_provider.h" | |
9 | |
10 @protocol CRWNativeContent; | |
11 | |
12 // A test class that will return CRWNativeContent for specified URLs. | |
13 @interface TestNativeContentProvider : NSObject<CRWNativeContentProvider> | |
14 | |
15 // Add a |CRWNativeContent| for |URL|. | |
16 - (void)setController:(id<CRWNativeContent>)controller forURL:(const GURL&)URL; | |
17 | |
18 @end | |
19 | |
20 #endif // IOS_WEB_PUBLIC_TEST_TEST_NATIVE_CONTENT_PROVIDER_H_ | |
OLD | NEW |