| 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_BROWSER_NATIVE_APP_LAUNCHER_NATIVE_APP_NAVIGATION_UTIL_H_ | |
| 6 #define IOS_CHROME_BROWSER_NATIVE_APP_LAUNCHER_NATIVE_APP_NAVIGATION_UTIL_H_ | |
| 7 | |
| 8 namespace web { | |
| 9 class WebState; | |
| 10 } // namespace web | |
| 11 | |
| 12 namespace native_app_launcher { | |
| 13 | |
| 14 // Returns whether the current state is arrived at via a "link navigation" in | |
| 15 // the sense of Native App Launcher, i.e. a navigation caused by an explicit | |
| 16 // user action in the rectangle of the web content area. |web_state| must not | |
| 17 // be nullptr. | |
| 18 bool IsLinkNavigation(web::WebState* web_state); | |
| 19 | |
| 20 } // namespace native_app_launcher | |
| 21 | |
| 22 #endif // IOS_CHROME_BROWSER_NATIVE_APP_LAUNCHER_NATIVE_APP_NAVIGATION_UTIL_H_ | |
| OLD | NEW |