| 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 #import "ios/web_view/public/cwv_navigation_action.h" |
| 6 |
| 7 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 8 #error "This file requires ARC support." |
| 9 #endif |
| 10 |
| 11 @implementation CWVNavigationAction |
| 12 @synthesize request = _request; |
| 13 @synthesize userInitiated = _userInitiated; |
| 14 |
| 15 - (instancetype)initWithRequest:(NSURLRequest*)request |
| 16 userInitiated:(BOOL)userInitiated { |
| 17 self = [super init]; |
| 18 if (self) { |
| 19 _userInitiated = userInitiated; |
| 20 _request = [request copy]; |
| 21 } |
| 22 return self; |
| 23 } |
| 24 |
| 25 @end |
| OLD | NEW |