From: Kevin Sawicki Date: Mon, 13 Mar 2017 17:31:51 +0000 (-0700) Subject: Add protocol methods X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7f458d232ad2822002042bbc5e69f66af0710d9;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Add protocol methods --- diff --git a/atom/browser/ui/cocoa/touch_bar_forward_declarations.h b/atom/browser/ui/cocoa/touch_bar_forward_declarations.h index 898bdee..1a5d931 100644 --- a/atom/browser/ui/cocoa/touch_bar_forward_declarations.h +++ b/atom/browser/ui/cocoa/touch_bar_forward_declarations.h @@ -199,14 +199,21 @@ static const NSTouchBarItemIdentifier NSTouchBarItemIdentifierOtherItemsProxy = @optional - (nullable NSTouchBarItem*)touchBar:(NSTouchBar*)touchBar makeItemForIdentifier:(NSTouchBarItemIdentifier)identifier; + @end @protocol NSScrubberDelegate +- (void)scrubber:(NSScrubber *)scrubber didHighlightItemAtIndex:(NSInteger)highlightedIndex; +- (void)scrubber:(NSScrubber *)scrubber didSelectItemAtIndex:(NSInteger)selectedIndex; + @end @protocol NSScrubberDataSource +- (NSInteger)numberOfItemsForScrubber:(NSScrubber *)scrubber; +- (NSInteger)numberOfItemsForScrubber:(NSScrubber *)scrubber; + @end #pragma clang assume_nonnull end