diff options
Diffstat (limited to 'chromium/ui/app_list/cocoa/scroll_view_with_no_scrollbars.h')
-rw-r--r-- | chromium/ui/app_list/cocoa/scroll_view_with_no_scrollbars.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/chromium/ui/app_list/cocoa/scroll_view_with_no_scrollbars.h b/chromium/ui/app_list/cocoa/scroll_view_with_no_scrollbars.h deleted file mode 100644 index 0697e24046f..00000000000 --- a/chromium/ui/app_list/cocoa/scroll_view_with_no_scrollbars.h +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2013 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef UI_APP_LIST_COCOA_SCROLL_VIEW_WITH_NO_SCROLLBARS_H_ -#define UI_APP_LIST_COCOA_SCROLL_VIEW_WITH_NO_SCROLLBARS_H_ - -#include <Cocoa/Cocoa.h> - -// Delegate to notify when a user interaction to scroll completes. -@protocol GestureScrollDelegate - -// Called when a scroll gesture is observed, or when it completes. -- (void)userScrolling:(BOOL)isScrolling; - -@end - -// NSScrollView has a quirk when created programatically that causes gesture -// scrolling to fail if it does not have a scroll bar. This provides a scroll -// view using custom scrollers that are not visible. -@interface ScrollViewWithNoScrollbars : NSScrollView { - @private - id<GestureScrollDelegate> delegate_; -} - -@property(assign, nonatomic) id<GestureScrollDelegate> delegate; - -@end - -#endif // UI_APP_LIST_COCOA_SCROLL_VIEW_WITH_NO_SCROLLBARS_H_ |