| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import "ios/web/public/test/test_native_content.h" | 5 #import "ios/web/public/test/fakes/test_native_content.h" |
| 6 | 6 |
| 7 #import "base/mac/scoped_nsobject.h" | 7 #import "base/mac/scoped_nsobject.h" |
| 8 | 8 |
| 9 @implementation TestNativeContent { | 9 @implementation TestNativeContent { |
| 10 GURL _URL; | 10 GURL _URL; |
| 11 GURL _virtualURL; | 11 GURL _virtualURL; |
| 12 base::scoped_nsobject<UIView> _view; | 12 base::scoped_nsobject<UIView> _view; |
| 13 } | 13 } |
| 14 - (instancetype)initWithURL:(const GURL&)URL | 14 - (instancetype)initWithURL:(const GURL&)URL |
| 15 virtualURL:(const GURL&)virtualURL { | 15 virtualURL:(const GURL&)virtualURL { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 - (void)handleLowMemory { | 47 - (void)handleLowMemory { |
| 48 } | 48 } |
| 49 | 49 |
| 50 - (BOOL)isViewAlive { | 50 - (BOOL)isViewAlive { |
| 51 return YES; | 51 return YES; |
| 52 } | 52 } |
| 53 | 53 |
| 54 - (void)reload { | 54 - (void)reload { |
| 55 } | 55 } |
| 56 @end | 56 @end |
| OLD | NEW |