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

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

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol Created 7 years, 5 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_VIEW_H_
6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_VIEW_H_ 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_VIEW_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/memory/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
11 #import "chrome/browser/ui/cocoa/url_drop_target.h" 11 #import "chrome/browser/ui/cocoa/url_drop_target.h"
12 12
13 @class NewTabButton; 13 @class NewTabButton;
14 @class TabStripController; 14 @class TabStripController;
15 15
16 // A view class that handles rendering the tab strip and drops of URLS with 16 // A view class that handles rendering the tab strip and drops of URLS with
17 // a positioning locator for drop feedback. 17 // a positioning locator for drop feedback.
18 18
19 @interface TabStripView : NSView<URLDropTarget> { 19 @interface TabStripView : NSView<URLDropTarget> {
20 @private 20 @private
21 TabStripController* controller_; // Weak; owns us. 21 TabStripController* controller_; // Weak; owns us.
22 22
23 NSTimeInterval lastMouseUp_; 23 NSTimeInterval lastMouseUp_;
24 24
25 // Handles being a drag-and-drop target. 25 // Handles being a drag-and-drop target.
26 scoped_nsobject<URLDropTargetHandler> dropHandler_; 26 base::scoped_nsobject<URLDropTargetHandler> dropHandler_;
27 27
28 scoped_nsobject<NewTabButton> newTabButton_; 28 base::scoped_nsobject<NewTabButton> newTabButton_;
29 29
30 // Whether the drop-indicator arrow is shown, and if it is, the coordinate of 30 // Whether the drop-indicator arrow is shown, and if it is, the coordinate of
31 // its tip. 31 // its tip.
32 BOOL dropArrowShown_; 32 BOOL dropArrowShown_;
33 NSPoint dropArrowPosition_; 33 NSPoint dropArrowPosition_;
34 } 34 }
35 35
36 @property(assign, nonatomic) BOOL dropArrowShown; 36 @property(assign, nonatomic) BOOL dropArrowShown;
37 @property(assign, nonatomic) NSPoint dropArrowPosition; 37 @property(assign, nonatomic) NSPoint dropArrowPosition;
38 38
(...skipping 13 matching lines...) Expand all
52 @interface TabStripView (Protected) 52 @interface TabStripView (Protected)
53 - (void)drawBottomBorder:(NSRect)bounds; 53 - (void)drawBottomBorder:(NSRect)bounds;
54 - (BOOL)doubleClickMinimizesWindow; 54 - (BOOL)doubleClickMinimizesWindow;
55 @end 55 @end
56 56
57 @interface TabStripView (TestingAPI) 57 @interface TabStripView (TestingAPI)
58 - (void)setNewTabButton:(NewTabButton*)button; 58 - (void)setNewTabButton:(NewTabButton*)button;
59 @end 59 @end
60 60
61 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_VIEW_H_ 61 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698