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

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

Issue 2586993002: Upstream Chrome on iOS source code [3/11]. (Closed)
Patch Set: Created 4 years 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
(Empty)
1 // Copyright 2012 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_SHARE_TO_DATA_H_
6 #define IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_SHARE_TO_DATA_H_
7
8 #import <UIKit/UIKit.h>
9
10 #include "url/gurl.h"
11
12 @interface ShareToData : NSObject
13
14 // Designated initializer.
15 - (id)initWithURL:(const GURL&)url
16 title:(NSString*)title
17 isOriginalTitle:(BOOL)isOriginalTitle
18 isPagePrintable:(BOOL)isPagePrintable;
19
20 @property(nonatomic, readonly) const GURL& url;
21 // NSURL version of 'url'. Use only for passing to libraries that take NSURL.
22 @property(strong, nonatomic, readonly) NSURL* nsurl;
23 @property(nonatomic, readonly, copy) NSString* title;
24 @property(nonatomic, readonly, assign) BOOL isOriginalTitle;
25 @property(nonatomic, readonly, assign) BOOL isPagePrintable;
26 @property(nonatomic, strong) UIImage* image;
27
28 @end
29
30 #endif // IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_SHARE_TO_DATA_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/activity_services/share_protocol.h ('k') | ios/chrome/browser/ui/activity_services/share_to_data.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698