Index: ios/web/public/test/test_native_content.mm |
diff --git a/ios/web/public/test/test_native_content.mm b/ios/web/public/test/test_native_content.mm |
deleted file mode 100644 |
index 398bae55a1757cf4b62acd87e6ff4fe7814e4b53..0000000000000000000000000000000000000000 |
--- a/ios/web/public/test/test_native_content.mm |
+++ /dev/null |
@@ -1,56 +0,0 @@ |
-// Copyright 2016 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. |
- |
-#import "ios/web/public/test/test_native_content.h" |
- |
-#import "base/mac/scoped_nsobject.h" |
- |
-@implementation TestNativeContent { |
- GURL _URL; |
- GURL _virtualURL; |
- base::scoped_nsobject<UIView> _view; |
-} |
-- (instancetype)initWithURL:(const GURL&)URL |
- virtualURL:(const GURL&)virtualURL { |
- self = [super init]; |
- if (self) { |
- _URL = URL; |
- _virtualURL = virtualURL; |
- } |
- return self; |
-} |
- |
-- (BOOL)respondsToSelector:(SEL)selector { |
- if (selector == @selector(virtualURL)) { |
- return _virtualURL.is_valid(); |
- } |
- return [super respondsToSelector:selector]; |
-} |
- |
-- (NSString*)title { |
- return @"Test Title"; |
-} |
- |
-- (const GURL&)url { |
- return _URL; |
-} |
- |
-- (GURL)virtualURL { |
- return _virtualURL; |
-} |
- |
-- (UIView*)view { |
- return nil; |
-} |
- |
-- (void)handleLowMemory { |
-} |
- |
-- (BOOL)isViewAlive { |
- return YES; |
-} |
- |
-- (void)reload { |
-} |
-@end |