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

Unified Diff: ui/app_list/cocoa/scroll_view_with_no_scrollbars.h

Issue 645853013: Remove some platform specific stuff from views. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « ui/app_list/cocoa/item_drag_controller.mm ('k') | ui/app_list/cocoa/scroll_view_with_no_scrollbars.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/cocoa/scroll_view_with_no_scrollbars.h
diff --git a/ui/app_list/cocoa/scroll_view_with_no_scrollbars.h b/ui/app_list/cocoa/scroll_view_with_no_scrollbars.h
deleted file mode 100644
index 0697e24046fca53f1343f59517ae79ffb3ec9232..0000000000000000000000000000000000000000
--- a/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_
« no previous file with comments | « ui/app_list/cocoa/item_drag_controller.mm ('k') | ui/app_list/cocoa/scroll_view_with_no_scrollbars.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698