From d7f458d232ad2822002042bbc5e69f66af0710d9 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 13 Mar 2017 10:31:51 -0700 Subject: [PATCH] Add protocol methods --- atom/browser/ui/cocoa/touch_bar_forward_declarations.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.7.4