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

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

Issue 2907153006: Add new mark-non-secure-as options to chrome://flags (Closed)
Patch Set: Self review Created 3 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/flag_descriptions.h" 5 #include "chrome/browser/flag_descriptions.h"
6 6
7 namespace flag_descriptions { 7 namespace flag_descriptions {
8 8
9 // Material Design version of chrome://bookmarks 9 // Material Design version of chrome://bookmarks
10 10
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 "Show in-form warnings for sensitive fields when the top-level page is " 164 "Show in-form warnings for sensitive fields when the top-level page is "
165 "not HTTPS"; 165 "not HTTPS";
166 166
167 const char kEnableHttpFormWarningDescription[] = 167 const char kEnableHttpFormWarningDescription[] =
168 "Attaches a warning UI to any password or credit card fields detected " 168 "Attaches a warning UI to any password or credit card fields detected "
169 "when the top-level page is not HTTPS"; 169 "when the top-level page is not HTTPS";
170 170
171 const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure"; 171 const char kMarkHttpAsName[] = "Mark non-secure origins as non-secure";
172 172
173 const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages"; 173 const char kMarkHttpAsDescription[] = "Change the UI treatment for HTTP pages";
174
175 const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous"; 174 const char kMarkHttpAsDangerous[] = "Always mark HTTP as actively dangerous";
175 const char kMarkHttpAsNonSecureWhileEditing[] =
176 "Warn on HTTP while editing forms";
estark 2017/05/30 22:46:42 nit: description makes it sound like the warning w
elawrence 2017/05/30 23:47:07 Would "Warn on HTTP after editing forms" resolve t
177 const char kMarkHttpAsNonSecureWhileIncognito[] =
178 "Warn on HTTP while in Incognito mode";
179 const char kMarkHttpAsNonSecureWhileIncognitoOrEditing[] =
180 "Warn on HTTP while editing forms or in Incognito mode";
176 181
177 // Material design of the Incognito NTP. 182 // Material design of the Incognito NTP.
178 183
179 extern const char kMaterialDesignIncognitoNTPName[] = 184 extern const char kMaterialDesignIncognitoNTPName[] =
180 "Material Design Incognito NTP."; 185 "Material Design Incognito NTP.";
181 186
182 extern const char kMaterialDesignIncognitoNTPDescription[] = 187 extern const char kMaterialDesignIncognitoNTPDescription[] =
183 "If enabled, the Incognito New Tab page uses the new material design " 188 "If enabled, the Incognito New Tab page uses the new material design "
184 "with a better readable text."; 189 "with a better readable text.";
185 190
(...skipping 3030 matching lines...) Expand 10 before | Expand all | Expand 10 after
3216 3221
3217 const char kDisableNewVirtualKeyboardBehaviorName[] = 3222 const char kDisableNewVirtualKeyboardBehaviorName[] =
3218 "New window behavior for the accessibility keyboard"; 3223 "New window behavior for the accessibility keyboard";
3219 const char kDisableNewVirtualKeyboardBehaviorDescription[] = 3224 const char kDisableNewVirtualKeyboardBehaviorDescription[] =
3220 "Disable new window behavior for the accessibility keyboard " 3225 "Disable new window behavior for the accessibility keyboard "
3221 "in non-sticky mode (do not change work area in non-sticky mode)."; 3226 "in non-sticky mode (do not change work area in non-sticky mode).";
3222 3227
3223 #endif // defined(OS_CHROMEOS) 3228 #endif // defined(OS_CHROMEOS)
3224 3229
3225 } // namespace flag_descriptions 3230 } // namespace flag_descriptions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698