OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // ====== New Architecture ===== |
| 6 // = This code is only used in the new iOS Chrome architecture. = |
| 7 // ============================================================================ |
| 8 |
| 9 #ifndef IOS_CHROME_BROWSER_URL_OPENING_H_ |
| 10 #define IOS_CHROME_BROWSER_URL_OPENING_H_ |
| 11 |
| 12 #import <Foundation/Foundation.h> |
| 13 |
| 14 // Protocol adopted by objects that can "open" (usually this means loading in a |
| 15 // web view) URLs. |
| 16 @protocol URLOpening |
| 17 // Opens |url|. Any kind of failure happens silently. |
| 18 - (void)openURL:(NSURL*)URL; |
| 19 @end |
| 20 |
| 21 #endif // IOS_CHROME_BROWSER_URL_OPENING_H_ |
OLD | NEW |