OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 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_VIEW_TEST_CHROME_WEB_VIEW_TEST_H_ | |
6 #define IOS_WEB_VIEW_TEST_CHROME_WEB_VIEW_TEST_H_ | |
7 | |
8 #include "testing/platform_test.h" | |
9 | |
10 @class CWVWebView; | |
11 @class NSURL; | |
12 | |
13 class ChromeWebViewTest : public PlatformTest { | |
14 protected: | |
15 ChromeWebViewTest(); | |
16 ~ChromeWebViewTest() override; | |
17 | |
18 // Loads |URL| in |web_view|. | |
Eugene But (OOO till 7-30)
2017/05/19 18:39:49
Please document that this method waits until URL i
michaeldo
2017/05/23 16:20:52
Done.
| |
19 void LoadURL(CWVWebView* web_view, NSURL* URL); | |
20 | |
21 // Waits until |web_view| stops loading. | |
Eugene But (OOO till 7-30)
2017/05/19 18:39:49
Please document what happens on timeout.
michaeldo
2017/05/23 16:20:52
Done.
| |
22 void WaitForPageLoadCompletion(CWVWebView* web_view); | |
23 | |
24 // PlatformTest methods. | |
25 void SetUp() override; | |
26 void TearDown() override; | |
27 }; | |
28 | |
29 #endif // IOS_WEB_VIEW_TEST_CHROME_WEB_VIEW_TEST_H_ | |
OLD | NEW |