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

Side by Side Diff: chrome/browser/cocoa/bookmark_bar_view.h

Issue 437051: Mac: give visual feedback for bookmark button drags. (Closed)
Patch Set: Updated per pinkerton's review. Created 11 years 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // A simple custom NSView for the bookmark bar used to prevent clicking and 5 // A simple custom NSView for the bookmark bar used to prevent clicking and
6 // dragging from moving the browser window. 6 // dragging from moving the browser window.
7 7
8 #ifndef CHROME_BROWSER_COCOA_BOOKMARK_BAR_VIEW_H_ 8 #ifndef CHROME_BROWSER_COCOA_BOOKMARK_BAR_VIEW_H_
9 #define CHROME_BROWSER_COCOA_BOOKMARK_BAR_VIEW_H_ 9 #define CHROME_BROWSER_COCOA_BOOKMARK_BAR_VIEW_H_
10 10
11 #import <Cocoa/Cocoa.h> 11 #import <Cocoa/Cocoa.h>
12 12
13 @class BookmarkBarController; 13 @class BookmarkBarController;
14 14
15 @interface BookmarkBarView : NSView { 15 @interface BookmarkBarView : NSView {
16 @private 16 @private
17 BOOL dropIndicatorShown_;
18 CGFloat dropIndicatorPosition_;
19
17 IBOutlet BookmarkBarController* controller_; 20 IBOutlet BookmarkBarController* controller_;
18 IBOutlet NSTextField* noItemTextfield_; 21 IBOutlet NSTextField* noItemTextfield_;
19 } 22 }
20 - (NSTextField*)noItemTextfield; 23 - (NSTextField*)noItemTextfield;
21 @end 24 @end
22 25
23 @interface BookmarkBarView(TestingAPI) 26 @interface BookmarkBarView(TestingAPI)
24 - (void)setController:(id)controller; 27 - (void)setController:(id)controller;
25 @end 28 @end
26 29
27 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_VIEW_H_ 30 #endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/bookmark_bar_controller.mm ('k') | chrome/browser/cocoa/bookmark_bar_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698