| 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_CHROME_TEST_APP_STATIC_HTML_VIEW_TEST_UTIL_H_ |
| 6 #define IOS_CHROME_TEST_APP_STATIC_HTML_VIEW_TEST_UTIL_H_ |
| 7 |
| 8 #import "ios/web/public/web_state/web_state.h" |
| 9 |
| 10 namespace chrome_test_util { |
| 11 |
| 12 // Returns true if there is a static html view in the |web_state|, which |
| 13 // contains |text|. If the text is not present, or there is no static html view |
| 14 // it returns false. |
| 15 bool StaticHtmlViewContainingText(web::WebState* web_state, std::string text); |
| 16 |
| 17 } // namespace chrome_test_util |
| 18 |
| 19 #endif // IOS_CHROME_TEST_APP_STATIC_HTML_VIEW_TEST_UTIL_H_ |
| OLD | NEW |