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

Unified Diff: base/mac/sdk_forward_declarations.h

Issue 775313002: Tweak NSUserActivity forward declaration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/app_controller_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/sdk_forward_declarations.h
diff --git a/base/mac/sdk_forward_declarations.h b/base/mac/sdk_forward_declarations.h
index fde0fcc744a186ec12a74308e228f799acf63c56..7dc35ce50a71b993a8dcac99932692fa4d8fb563 100644
--- a/base/mac/sdk_forward_declarations.h
+++ b/base/mac/sdk_forward_declarations.h
@@ -330,9 +330,13 @@ BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification;
@interface NSUserActivity : NSObject
+- (instancetype)initWithActivityType:(NSString*)activityType;
Nico 2014/12/04 17:15:25 Why are you adding these 3? It looks like you're n
Jiang Jiang 2014/12/04 17:25:11 It's just to make it easier to add Handoff support
Nico 2014/12/04 17:30:36 Please do, let's not add dead code. We can add it
Jiang Jiang 2014/12/04 18:04:42 Done. Currently Chrome put all Handoff logic in a
+- (void)becomeCurrent;
+- (void)invalidate;
+
@property (readonly, copy) NSString* activityType;
@property (copy) NSDictionary* userInfo;
-@property (copy) NSURL* webPageURL;
+@property (copy) NSURL* webpageURL;
Nico 2014/12/04 17:15:25 Whoa, how did this work before? :-/
Jiang Jiang 2014/12/04 17:25:11 Current Yosemite still accepts webPageURL but it w
Nico 2014/12/04 17:30:36 Ah, ok.
@end
« no previous file with comments | « no previous file | chrome/browser/app_controller_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698