diff --git a/atom/browser/ui/cocoa/touch_bar_forward_declarations.h b/atom/browser/ui/cocoa/touch_bar_forward_declarations.h index 898bdee25e2f..1a5d9311d240 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