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

Unified Diff: base/mac/sdk_forward_declarations.h

Issue 2193153002: MacViews: Send Mac scrollWheel NSEvents as ui::ET_SCROLL (ui::ScrollEvent). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20160728-MacViews-ScrollLayers
Patch Set: NSDictionary subscripting Created 4 years, 3 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 | content/browser/renderer_host/input/web_input_event_builders_mac_unittest.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 29e35218249f28b999e718e9cf2fb80beafa5420..a4b64dc153d91e2533930952f3d4f1cf7726bd21 100644
--- a/base/mac/sdk_forward_declarations.h
+++ b/base/mac/sdk_forward_declarations.h
@@ -117,6 +117,18 @@ BASE_EXPORT extern NSString* const NSAppearanceNameVibrantLight;
topLevelObjects:(NSArray**)topLevelObjects;
@end
+@interface NSArray (MountainLionSDK)
+- (id)objectAtIndexedSubscript:(NSUInteger)idx;
+@end
+
+@interface NSDictionary (MountainLionSDK)
+- (id)objectForKeyedSubscript:(id)key;
+@end
+
+@interface NSMutableDictionary (MountainLionSDK)
+- (void)setObject:(id)obj forKeyedSubscript:(id<NSCopying>)key;
+@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 | content/browser/renderer_host/input/web_input_event_builders_mac_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698