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

Unified Diff: base/mac/sdk_forward_declarations.h

Issue 2116103002: mac: Use instantiateWithOwner: instead of deprecated instantiateNibWithOwner: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: be more thrifty with newlines Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_mac.mm » ('j') | chrome/browser/chrome_browser_main_mac.mm » ('J')
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 ab23b588714a7be57383915d3260ad6bf45d5825..78bd8f8d4423cf51212eeb94ee8431554227b898 100644
--- a/base/mac/sdk_forward_declarations.h
+++ b/base/mac/sdk_forward_declarations.h
@@ -97,6 +97,11 @@ BASE_EXPORT extern NSString* const NSAppearanceNameVibrantLight;
@property BOOL allowsExpansionToolTips;
@end
+@interface NSNib (MountainLionSDK)
+- (BOOL)instantiateWithOwner:(id)owner
+ topLevelObjects:(NSArray**)topLevelObjects;
+@end
+
#endif // MAC_OS_X_VERSION_10_8
// Once Chrome no longer supports OSX 10.8, everything within this preprocessor
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_mac.mm » ('j') | chrome/browser/chrome_browser_main_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698