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

Side by Side Diff: ui/views/controls/textfield/native_textfield_wrapper.h

Issue 9117012: Rename visual style "password" to "obscured" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright Created 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ 5 #ifndef UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_
6 #define UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ 6 #define UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Updates the background color used when painting the native text field. 65 // Updates the background color used when painting the native text field.
66 virtual void UpdateBackgroundColor() = 0; 66 virtual void UpdateBackgroundColor() = 0;
67 67
68 // Updates the read-only state of the native text field. 68 // Updates the read-only state of the native text field.
69 virtual void UpdateReadOnly() = 0; 69 virtual void UpdateReadOnly() = 0;
70 70
71 // Updates the font used to render text in the native text field. 71 // Updates the font used to render text in the native text field.
72 virtual void UpdateFont() = 0; 72 virtual void UpdateFont() = 0;
73 73
74 // Updates the visibility of the text in the native text field. 74 // Updates the visibility of the text in the native text field.
75 virtual void UpdateIsPassword() = 0; 75 virtual void UpdateIsObscured() = 0;
76 76
77 // Updates the enabled state of the native text field. 77 // Updates the enabled state of the native text field.
78 virtual void UpdateEnabled() = 0; 78 virtual void UpdateEnabled() = 0;
79 79
80 // Returns the insets for the text field. 80 // Returns the insets for the text field.
81 virtual gfx::Insets CalculateInsets() = 0; 81 virtual gfx::Insets CalculateInsets() = 0;
82 82
83 // Updates the horizontal margins for the native text field. 83 // Updates the horizontal margins for the native text field.
84 virtual void UpdateHorizontalMargins() = 0; 84 virtual void UpdateHorizontalMargins() = 0;
85 85
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // Get the height in pixels of the first font used in this textfield. 147 // Get the height in pixels of the first font used in this textfield.
148 virtual int GetFontHeight() = 0; 148 virtual int GetFontHeight() = 0;
149 149
150 // Creates an appropriate NativeTextfieldWrapper for the platform. 150 // Creates an appropriate NativeTextfieldWrapper for the platform.
151 static NativeTextfieldWrapper* CreateWrapper(Textfield* field); 151 static NativeTextfieldWrapper* CreateWrapper(Textfield* field);
152 }; 152 };
153 153
154 } // namespace views 154 } // namespace views
155 155
156 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ 156 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_
OLDNEW
« no previous file with comments | « ui/views/controls/textfield/native_textfield_win.cc ('k') | ui/views/controls/textfield/textfield.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698