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

Side by Side Diff: chrome/browser/autofill/autofill_text_field_mac.h

Issue 6621076: [Mac] Remove native/Cocoa preferences. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase switch removal Created 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_TEXT_FIELD_MAC_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_TEXT_FIELD_MAC_
7 #pragma once
8
9 #import <Cocoa/Cocoa.h>
10
11 #import "base/scoped_nsobject.h"
12
13 // Subclass of NSTextField with special abilities:
14 // - automatically scrolls containing NSScrollView to visually reveal itself
15 // on focus
16 // - properly obfuscates credit card numbers
17
18 @interface AutoFillTextField : NSTextField {
19 BOOL isCreditCardField_;
20 BOOL isObfuscated_;
21 BOOL isBeingSelected_;
22
23 scoped_nsobject<NSString> obfuscatedValue_;
24 }
25 @end
26
27 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_TEXT_FIELD_MAC_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_dialog_mac.mm ('k') | chrome/browser/autofill/autofill_text_field_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698