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

Side by Side Diff: chrome/browser/ui/cocoa/find_bar/find_bar_text_field_cell.h

Issue 6366001: [Mac] Move the associated find bar files into a subdir of c/b/ui/cocoa/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #import "chrome/browser/ui/cocoa/styled_text_field_cell.h" 7 #import "chrome/browser/ui/cocoa/styled_text_field_cell.h"
8 8
9 #include "base/scoped_nsobject.h" 9 #include "base/scoped_nsobject.h"
10 10
11 // FindBarTextFieldCell extends StyledTextFieldCell to provide support for a 11 // FindBarTextFieldCell extends StyledTextFieldCell to provide support for a
12 // results label rooted at the right edge of the cell. 12 // results label rooted at the right edge of the cell.
13 @interface FindBarTextFieldCell : StyledTextFieldCell { 13 @interface FindBarTextFieldCell : StyledTextFieldCell {
14 @private 14 @private
15 // Set if there is a results label to display on the right side of the cell. 15 // Set if there is a results label to display on the right side of the cell.
16 scoped_nsobject<NSAttributedString> resultsString_; 16 scoped_nsobject<NSAttributedString> resultsString_;
17 } 17 }
18 18
19 // Sets the results label to the localized equivalent of "X of Y". 19 // Sets the results label to the localized equivalent of "X of Y".
20 - (void)setActiveMatch:(NSInteger)current of:(NSInteger)total; 20 - (void)setActiveMatch:(NSInteger)current of:(NSInteger)total;
21 21
22 - (void)clearResults; 22 - (void)clearResults;
23 23
24 @end 24 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/find_bar/find_bar_text_field.mm ('k') | chrome/browser/ui/cocoa/find_bar/find_bar_text_field_cell.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698