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

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

Issue 2747693003: Add missing include guards in Cocoa code. (Closed)
Patch Set: 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 //
5 // A simple custom NSView for the bookmark bar used to prevent clicking and
6 // dragging from moving the browser window.
7 4
8 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_VIEW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_VIEW_COCOA_H_
9 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_VIEW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_VIEW_COCOA_H_
10 7
11 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
12 9
13 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
14 11
12 // A simple custom NSView for the bookmark bar used to prevent clicking and
13 // dragging from moving the browser window.
tapted 2017/03/14 04:45:48 move down to above BookmarkBarView
dominickn 2017/03/14 05:03:12 Done.
tapted 2017/03/14 05:51:47 you moved it too far ;) It doesn't belong above "
dominickn 2017/03/14 05:56:02 Ugh, that's a vision fail. Sending you a follow up
15 @class BookmarkBarController; 14 @class BookmarkBarController;
16 15
17 @interface BookmarkBarView : NSView { 16 @interface BookmarkBarView : NSView {
18 @private 17 @private
19 BOOL dropIndicatorShown_; 18 BOOL dropIndicatorShown_;
20 CGFloat dropIndicatorPosition_; // x position 19 CGFloat dropIndicatorPosition_; // x position
21 20
22 BookmarkBarController* controller_; 21 BookmarkBarController* controller_;
23 base::scoped_nsobject<NSTextField> noItemTextfield_; 22 base::scoped_nsobject<NSTextField> noItemTextfield_;
24 base::scoped_nsobject<NSButton> importBookmarksButton_; 23 base::scoped_nsobject<NSButton> importBookmarksButton_;
(...skipping 10 matching lines...) Expand all
35 // Exposed so the controller can nil itself out. 34 // Exposed so the controller can nil itself out.
36 @property(nonatomic, assign) BookmarkBarController* controller; 35 @property(nonatomic, assign) BookmarkBarController* controller;
37 @end 36 @end
38 37
39 @interface BookmarkBarView() // TestingOrInternalAPI 38 @interface BookmarkBarView() // TestingOrInternalAPI
40 @property(nonatomic, readonly) BOOL dropIndicatorShown; 39 @property(nonatomic, readonly) BOOL dropIndicatorShown;
41 @property(nonatomic, readonly) CGFloat dropIndicatorPosition; 40 @property(nonatomic, readonly) CGFloat dropIndicatorPosition;
42 @end 41 @end
43 42
44 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_VIEW_COCOA_H_ 43 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_VIEW_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698