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

Side by Side Diff: chrome/browser/ui/cocoa/bubble_combobox.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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
6 #ifndef CHROME_BROWSER_UI_COCOA_BUBBLE_COMBOBOX_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BUBBLE_COMBOBOX_H_
7 #define CHROME_BROWSER_UI_COCOA_BUBBLE_COMBOBOX_H_ 6 #define CHROME_BROWSER_UI_COCOA_BUBBLE_COMBOBOX_H_
8 7
9 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
10 9
11 namespace ui { 10 namespace ui {
12 class ComboboxModel; 11 class ComboboxModel;
13 } // namespace ui 12 } // namespace ui
14 13
15 // An NSPopUpButton that auto-populates from a ui::ComboboxModel. 14 // An NSPopUpButton that auto-populates from a ui::ComboboxModel.
16 // By default it comes with a border, small font size, and small control size. 15 // By default it comes with a border, small font size, and small control size.
17 @interface BubbleCombobox : NSPopUpButton 16 @interface BubbleCombobox : NSPopUpButton
18 // Does not take ownership nor store a pointer to |model|; it is used only for 17 // Does not take ownership nor store a pointer to |model|; it is used only for
19 // population of the combobox. 18 // population of the combobox.
20 - (id)initWithFrame:(NSRect)frame 19 - (id)initWithFrame:(NSRect)frame
21 pullsDown:(BOOL)pullsDown 20 pullsDown:(BOOL)pullsDown
22 model:(ui::ComboboxModel*)model; 21 model:(ui::ComboboxModel*)model;
23 @end 22 @end
24 23
25 #endif // CHROME_BROWSER_UI_COCOA_BUBBLE_COMBOBOX_H_ 24 #endif // CHROME_BROWSER_UI_COCOA_BUBBLE_COMBOBOX_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h ('k') | chrome/browser/ui/cocoa/bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698