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

Unified Diff: ui/gfx/render_text.h

Issue 2439693002: MacViews: Use bullets for displaying obscured text. (Closed)
Patch Set: Make kPasswordReplacementChar static member of RenderText. Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/gfx/render_text.cc » ('j') | ui/gfx/render_text_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text.h
diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
index a16d06351ea3d8770e2d3b3ae0e6482bb200d594..4b041f9a37fe03942b9085ccc79f9a78d5d75679 100644
--- a/ui/gfx/render_text.h
+++ b/ui/gfx/render_text.h
@@ -211,6 +211,9 @@ class GFX_EXPORT RenderText {
public:
virtual ~RenderText();
+ // The character used for displaying obscured text.
+ static const base::char16 kPasswordReplacementChar;
sky 2016/10/24 16:13:25 Style const says constants before destructor. Also
karandeepb 2016/10/25 03:31:03 Done. I initially preferred using a static const s
+
// Creates a platform-specific or cross-platform RenderText instance.
static RenderText* CreateInstance();
static RenderText* CreateInstanceForEditing();
« no previous file with comments | « no previous file | ui/gfx/render_text.cc » ('j') | ui/gfx/render_text_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698