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

Side by Side Diff: chrome/browser/ui/cocoa/find_bar/find_bar_text_field_cell.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_FIND_BAR_FIND_BAR_TEXT_FIELD_CELL_H_
6 #define CHROME_BROWSER_UI_COCOA_FIND_BAR_FIND_BAR_TEXT_FIELD_CELL_H_
7
5 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
6 9
7 #import "chrome/browser/ui/cocoa/styled_text_field_cell.h" 10 #import "chrome/browser/ui/cocoa/styled_text_field_cell.h"
8 11
9 #include "base/mac/scoped_nsobject.h" 12 #include "base/mac/scoped_nsobject.h"
10 13
11 // FindBarTextFieldCell extends StyledTextFieldCell to provide support for a 14 // FindBarTextFieldCell extends StyledTextFieldCell to provide support for a
12 // results label rooted at the right edge of the cell. 15 // results label rooted at the right edge of the cell.
13 @interface FindBarTextFieldCell : StyledTextFieldCell { 16 @interface FindBarTextFieldCell : StyledTextFieldCell {
14 @private 17 @private
15 // Set if there is a results label to display on the right side of the cell. 18 // Set if there is a results label to display on the right side of the cell.
16 base::scoped_nsobject<NSAttributedString> resultsString_; 19 base::scoped_nsobject<NSAttributedString> resultsString_;
17 } 20 }
18 21
19 // Sets the results label to the localized equivalent of "X of Y". 22 // Sets the results label to the localized equivalent of "X of Y".
20 - (void)setActiveMatch:(NSInteger)current of:(NSInteger)total; 23 - (void)setActiveMatch:(NSInteger)current of:(NSInteger)total;
21 24
22 - (void)clearResults; 25 - (void)clearResults;
23 26
24 - (NSString*)resultsString; 27 - (NSString*)resultsString;
25 28
26 @end 29 @end
30
31 #endif // CHROME_BROWSER_UI_COCOA_FIND_BAR_FIND_BAR_TEXT_FIELD_CELL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/find_bar/find_bar_text_field.h ('k') | chrome/browser/ui/cocoa/first_run_bubble_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698