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_CHROME_TEST_APP_NAVIGATION_TEST_UTIL_H_ |
| 6 #define IOS_CHROME_TEST_APP_NAVIGATION_TEST_UTIL_H_ |
| 7 |
| 8 #include "url/gurl.h" |
| 9 |
| 10 namespace chrome_test_util { |
| 11 |
| 12 // Loads |url| in the current WebState with transition of type |
| 13 // ui::PAGE_TRANSITION_TYPED. |
| 14 void LoadUrl(const GURL& url); |
| 15 |
| 16 // Returns true if the current page in the current WebState is loading. |
| 17 bool IsLoading(); |
| 18 |
| 19 } // namespace chrome_test_util |
| 20 |
| 21 #endif // IOS_CHROME_TEST_APP_NAVIGATION_TEST_UTIL_H_ |
OLD | NEW |