Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Side by Side Diff: ios/chrome/browser/ui/activity_services/chrome_activity_item_source.h

Issue 2710923002: Rename UIActivityFindLoginActionSource to UIActivityURLSource. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_CHROME_ACTIVITY_ITEM_SOURCE_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_CHROME_ACTIVITY_ITEM_SOURCE_H_
6 #define IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_CHROME_ACTIVITY_ITEM_SOURCE_H_ 6 #define IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_CHROME_ACTIVITY_ITEM_SOURCE_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 #import <UIKit/UIKit.h> 9 #import <UIKit/UIKit.h>
10 10
(...skipping 14 matching lines...) Expand all
25 - (instancetype)initWithImage:(UIImage*)image; 25 - (instancetype)initWithImage:(UIImage*)image;
26 26
27 @end 27 @end
28 28
29 // This UIActivityItemSource-conforming object communicates with Password 29 // This UIActivityItemSource-conforming object communicates with Password
30 // Management App Extensions by returning a NSDictionary with the URL of the 30 // Management App Extensions by returning a NSDictionary with the URL of the
31 // current page *and* also conforms to UTType public.url so it can be used 31 // current page *and* also conforms to UTType public.url so it can be used
32 // with other Social Sharing Extensions as well. The |subject| is used by 32 // with other Social Sharing Extensions as well. The |subject| is used by
33 // Mail applications to pre-fill in the subject line. The |thumbnailGenerator| 33 // Mail applications to pre-fill in the subject line. The |thumbnailGenerator|
34 // is used to provide thumbnails to extensions that request one. 34 // is used to provide thumbnails to extensions that request one.
35 // TODO(crbug.com/685225): Rename UIActivityFindLoginActionSource. 35 @interface UIActivityURLSource : NSObject<UIActivityItemSource>
36 @interface UIActivityFindLoginActionSource : NSObject<UIActivityItemSource>
37 36
38 // Default initializer. |subject|, |url|, and |thumbnailGenerator| must not be 37 // Default initializer. |subject|, |url|, and |thumbnailGenerator| must not be
39 // nil. 38 // nil.
40 - (instancetype)initWithURL:(NSURL*)url 39 - (instancetype)initWithURL:(NSURL*)url
41 subject:(NSString*)subject 40 subject:(NSString*)subject
42 thumbnailGenerator:(ThumbnailGeneratorBlock)thumbnailGenerator; 41 thumbnailGenerator:(ThumbnailGeneratorBlock)thumbnailGenerator;
43 42
44 @end 43 @end
45 44
46 #endif // IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_CHROME_ACTIVITY_ITEM_SOURCE_H _ 45 #endif // IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_CHROME_ACTIVITY_ITEM_SOURCE_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698