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 #ifndef IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_READING_LIST_ACTIVITY_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_READING_LIST_ACTIVITY_H_ |
| 7 |
| 8 #import <Foundation/Foundation.h> |
| 9 #import <UIKit/UIKit.h> |
| 10 |
| 11 class GURL; |
| 12 |
| 13 // Activity that triggers the add-to-reading-list service. |
| 14 @interface ReadingListActivity : UIActivity |
| 15 |
| 16 // Identifier for the add-to-reading-list activity. |
| 17 + (NSString*)activityIdentifier; |
| 18 |
| 19 - (instancetype)initWithURL:(const GURL&)activityURL |
| 20 title:(NSString*)title |
| 21 responder:(UIResponder*)responder; |
| 22 |
| 23 @end |
| 24 |
| 25 #endif // IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_READING_LIST_ACTIVITY_H_ |
OLD | NEW |