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

Side by Side Diff: chrome/browser/defaults.cc

Issue 15937004: Respect Android system settings for allowing the last character of a password to be displayed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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
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 #include "chrome/browser/defaults.h" 5 #include "chrome/browser/defaults.h"
6 6
7 namespace browser_defaults { 7 namespace browser_defaults {
8 8
9 #if defined(USE_X11) 9 #if defined(USE_X11)
10 #if defined(TOOLKIT_VIEWS) 10 #if defined(TOOLKIT_VIEWS)
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 const bool kShowCancelButtonInTaskManager = false; 84 const bool kShowCancelButtonInTaskManager = false;
85 #endif 85 #endif
86 86
87 const int kBookmarkBarHeight = 28; 87 const int kBookmarkBarHeight = 28;
88 88
89 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle = 89 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle =
90 ui::ResourceBundle::BoldFont; 90 ui::ResourceBundle::BoldFont;
91 91
92 const int kInfoBarBorderPaddingVertical = 5; 92 const int kInfoBarBorderPaddingVertical = 5;
93 93
94 #if defined(OS_ANDROID) 94 #if !defined(OS_ANDROID)
95 const bool kPasswordEchoEnabled = true;
96 #else
97 const bool kPasswordEchoEnabled = false; 95 const bool kPasswordEchoEnabled = false;
98 #endif 96 #endif
99 97
100 bool bookmarks_enabled = true; 98 bool bookmarks_enabled = true;
101 99
102 bool enable_help_app = true; 100 bool enable_help_app = true;
103 101
104 } // namespace browser_defaults 102 } // namespace browser_defaults
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/ui/prefs/prefs_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698