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

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.h

Issue 2747693003: Add missing include guards in Cocoa code. (Closed)
Patch Set: Fix nit Created 3 years, 9 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
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_BOOKMARKS_BOOKMARK_BAR_FOLDER_VIEW_H_
6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_VIEW_H_
7
5 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
6 9
7 #import "base/mac/scoped_nsobject.h" 10 #import "base/mac/scoped_nsobject.h"
8 11
9 @protocol BookmarkButtonControllerProtocol; 12 @protocol BookmarkButtonControllerProtocol;
10 @class BookmarkBarFolderController; 13 @class BookmarkBarFolderController;
11 14
12 // Main content view for a bookmark bar folder "menu" window. This is 15 // Main content view for a bookmark bar folder "menu" window. This is
13 // logically similar to a BookmarkBarView but is oriented vertically. 16 // logically similar to a BookmarkBarView but is oriented vertically.
14 @interface BookmarkBarFolderView : NSView { 17 @interface BookmarkBarFolderView : NSView {
15 @private 18 @private
16 BOOL inDrag_; // Are we in the middle of a drag? 19 BOOL inDrag_; // Are we in the middle of a drag?
17 BOOL dropIndicatorShown_; 20 BOOL dropIndicatorShown_;
18 // The following |controller_| is weak; used for testing only. See the imple- 21 // The following |controller_| is weak; used for testing only. See the imple-
19 // mentation comment for - (id<BookmarkButtonControllerProtocol>)controller. 22 // mentation comment for - (id<BookmarkButtonControllerProtocol>)controller.
20 id<BookmarkButtonControllerProtocol> controller_; 23 id<BookmarkButtonControllerProtocol> controller_;
21 base::scoped_nsobject<NSBox> dropIndicator_; 24 base::scoped_nsobject<NSBox> dropIndicator_;
22 } 25 }
23 @end 26 @end
27
28 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_FOLDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698