| Index: ios/web_view/public/cwv_navigation_action.h
|
| diff --git a/ios/web_view/public/cwv_navigation_action.h b/ios/web_view/public/cwv_navigation_action.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..60e7a7a8ffb29063f1fa3cf70a49bb7414e6d00f
|
| --- /dev/null
|
| +++ b/ios/web_view/public/cwv_navigation_action.h
|
| @@ -0,0 +1,20 @@
|
| +// 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_WEB_VIEW_PUBLIC_CWV_NAVIGATION_ACTION_H_
|
| +#define IOS_WEB_VIEW_PUBLIC_CWV_NAVIGATION_ACTION_H_
|
| +
|
| +#import <Foundation/Foundation.h>
|
| +
|
| +// Encapsulates information about an action which caused a navigation.
|
| +@interface CWVNavigationAction : NSObject
|
| +
|
| +// Destination request associated with the action.
|
| +@property(nonatomic, copy, readonly, nonnull) NSURLRequest* request;
|
| +// YES if the action was caused by a user action (e.g. link tap).
|
| +@property(nonatomic, readonly, getter=isUserInitiated) BOOL userInitiated;
|
| +
|
| +@end
|
| +
|
| +#endif // IOS_WEB_VIEW_PUBLIC_CWV_NAVIGATION_ACTION_H_
|
|
|