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

Side by Side Diff: chrome/browser/ui/cocoa/find_bar/find_bar_text_field.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) 2009 The Chromium Authors. All rights reserved. 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 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_FIND_BAR_FIND_BAR_TEXT_FIELD_H_
6 #define CHROME_BROWSER_UI_COCOA_FIND_BAR_FIND_BAR_TEXT_FIELD_H_
7
5 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
6 #import "chrome/browser/ui/cocoa/styled_text_field.h" 9 #import "chrome/browser/ui/cocoa/styled_text_field.h"
7 10
8 @class FindBarTextFieldCell; 11 @class FindBarTextFieldCell;
9 12
10 // TODO(rohitrao): This class may not need to exist, since it does not really 13 // TODO(rohitrao): This class may not need to exist, since it does not really
11 // add any functionality over StyledTextField. See if we can change the nib 14 // add any functionality over StyledTextField. See if we can change the nib
12 // file to put a FindBarTextFieldCell into a StyledTextField. 15 // file to put a FindBarTextFieldCell into a StyledTextField.
13 16
14 // Extends StyledTextField to use a custom cell class (FindBarTextFieldCell). 17 // Extends StyledTextField to use a custom cell class (FindBarTextFieldCell).
15 @interface FindBarTextField : StyledTextField { 18 @interface FindBarTextField : StyledTextField {
16 } 19 }
17 20
18 // Convenience method to return the cell, casted appropriately. 21 // Convenience method to return the cell, casted appropriately.
19 - (FindBarTextFieldCell*)findBarTextFieldCell; 22 - (FindBarTextFieldCell*)findBarTextFieldCell;
20 23
21 @end 24 @end
25
26 #endif // CHROME_BROWSER_UI_COCOA_FIND_BAR_FIND_BAR_TEXT_FIELD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698