Index: ios/chrome/browser/ui/activity_services/share_to_data.h |
diff --git a/ios/chrome/browser/ui/activity_services/share_to_data.h b/ios/chrome/browser/ui/activity_services/share_to_data.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0313aa0c062ffd05d8a5bb512b6e197579da9022 |
--- /dev/null |
+++ b/ios/chrome/browser/ui/activity_services/share_to_data.h |
@@ -0,0 +1,30 @@ |
+// Copyright 2012 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. |
+ |
+#ifndef IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_SHARE_TO_DATA_H_ |
+#define IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_SHARE_TO_DATA_H_ |
+ |
+#import <UIKit/UIKit.h> |
+ |
+#include "url/gurl.h" |
+ |
+@interface ShareToData : NSObject |
+ |
+// Designated initializer. |
+- (id)initWithURL:(const GURL&)url |
+ title:(NSString*)title |
+ isOriginalTitle:(BOOL)isOriginalTitle |
+ isPagePrintable:(BOOL)isPagePrintable; |
+ |
+@property(nonatomic, readonly) const GURL& url; |
+// NSURL version of 'url'. Use only for passing to libraries that take NSURL. |
+@property(strong, nonatomic, readonly) NSURL* nsurl; |
+@property(nonatomic, readonly, copy) NSString* title; |
+@property(nonatomic, readonly, assign) BOOL isOriginalTitle; |
+@property(nonatomic, readonly, assign) BOOL isPagePrintable; |
+@property(nonatomic, strong) UIImage* image; |
+ |
+@end |
+ |
+#endif // IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_SHARE_TO_DATA_H_ |