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

Side by Side Diff: chrome/browser/ui/cocoa/tab_strip_view.h

Issue 6362007: [Mac] Organize all tab/tab strip files into chrome/browser/ui/cocoa/tabs/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_COCOA_TAB_STRIP_VIEW_H_
6 #define CHROME_BROWSER_UI_COCOA_TAB_STRIP_VIEW_H_
7 #pragma once
8
9 #import <Cocoa/Cocoa.h>
10
11 #include "base/scoped_nsobject.h"
12 #import "chrome/browser/ui/cocoa/url_drop_target.h"
13
14 @class NewTabButton;
15
16 // A view class that handles rendering the tab strip and drops of URLS with
17 // a positioning locator for drop feedback.
18
19 @interface TabStripView : NSView<URLDropTarget> {
20 @private
21 NSTimeInterval lastMouseUp_;
22
23 // Handles being a drag-and-drop target.
24 scoped_nsobject<URLDropTargetHandler> dropHandler_;
25
26 // Weak; the following come from the nib.
27 NewTabButton* newTabButton_;
28
29 // Whether the drop-indicator arrow is shown, and if it is, the coordinate of
30 // its tip.
31 BOOL dropArrowShown_;
32 NSPoint dropArrowPosition_;
33 }
34
35 @property(assign, nonatomic) IBOutlet NewTabButton* newTabButton;
36 @property(assign, nonatomic) BOOL dropArrowShown;
37 @property(assign, nonatomic) NSPoint dropArrowPosition;
38
39 @end
40
41 // Protected methods subclasses can override to alter behavior. Clients should
42 // not call these directly.
43 @interface TabStripView(Protected)
44 - (void)drawBottomBorder:(NSRect)bounds;
45 - (BOOL)doubleClickMinimizesWindow;
46 @end
47
48 #endif // CHROME_BROWSER_UI_COCOA_TAB_STRIP_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tab_strip_model_observer_bridge.mm ('k') | chrome/browser/ui/cocoa/tab_strip_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698