Chromium Code Reviews| Index: ios/chrome/browser/native_app_launcher/native_app_navigation_utils.h |
| diff --git a/ios/chrome/browser/native_app_launcher/native_app_navigation_utils.h b/ios/chrome/browser/native_app_launcher/native_app_navigation_utils.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..043d77d2eb009d24395490141a6245cc1cec69fa |
| --- /dev/null |
| +++ b/ios/chrome/browser/native_app_launcher/native_app_navigation_utils.h |
| @@ -0,0 +1,21 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef IOS_CHROME_BROWSER_NATIVE_APP_LAUNCHER_NATIVE_APP_NAVIGATION_UTILS_H_ |
| +#define IOS_CHROME_BROWSER_NATIVE_APP_LAUNCHER_NATIVE_APP_NAVIGATION_UTILS_H_ |
| + |
| +namespace web { |
| +class WebState; |
| +} // namespace web |
| + |
| +namespace native_app_launcher { |
| + |
| +// Returns whether the current state is Link Navigation in the sense of Native |
|
Eugene But (OOO till 7-30)
2017/01/26 01:04:38
Should this be "Returns whether the last navigatio
pkl (ping after 24h if needed)
2017/01/26 02:26:28
Clarified.
|
| +// App Launcher, i.e. a navigation caused by an explicit user action in the |
| +// rectangle of the web content area. |
| +bool IsLinkNavigation(web::WebState* webState); |
|
Eugene But (OOO till 7-30)
2017/01/26 01:04:38
s/webState/web_state
pkl (ping after 24h if needed)
2017/01/26 02:26:28
Done.
|
| + |
| +} // namespace native_app_launcher |
| + |
| +#endif // IOS_CHROME_BROWSER_NATIVE_APP_LAUNCHER_NATIVE_APP_NAVIGATION_UTILS_H_ |