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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/autofill_textfield.h

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanups Created 7 years, 6 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_AUTOFILL_AUTOFILL_TEXTFIELD_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_TEXTFIELD_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_TEXTFIELD_H_ 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_TEXTFIELD_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include <base/memory/scoped_nsobject.h> 10 #include <base/mac/scoped_nsobject.h>
Mark Mentovai 2013/06/24 21:29:48 Use "quotes" to #include this.
11 11
12 // Text field used for text inputs inside Autofill. 12 // Text field used for text inputs inside Autofill.
13 // Provide both dog ear and red outline when the contents are marked invalid. 13 // Provide both dog ear and red outline when the contents are marked invalid.
14 @interface AutofillTextField : NSTextField 14 @interface AutofillTextField : NSTextField
15 @end 15 @end
16 16
17 @interface AutofillTextFieldCell : NSTextFieldCell { 17 @interface AutofillTextFieldCell : NSTextFieldCell {
18 @private 18 @private
19 BOOL invalid_; 19 BOOL invalid_;
20 scoped_nsobject<NSImage> icon_; 20 base::scoped_nsobject<NSImage> icon_;
21 } 21 }
22 22
23 @property(assign, nonatomic) BOOL invalid; 23 @property(assign, nonatomic) BOOL invalid;
24 @property(nonatomic, retain, getter=icon, setter=setIcon:) NSImage* icon; 24 @property(nonatomic, retain, getter=icon, setter=setIcon:) NSImage* icon;
25 25
26 @end 26 @end
27 27
28 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_TEXTFIELD_H_ 28 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_TEXTFIELD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698