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

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

Issue 2930323003: Show client placeholders for Server LoFi images. (Closed)
Patch Set: Addressed comments Created 3 years, 5 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 const char kBrowserSideNavigationName[] = "Enable browser side navigation"; 9 const char kBrowserSideNavigationName[] = "Enable browser side navigation";
10 10
(...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after
1193 "Use a carrier-specific Data Reduction Proxy for testing."; 1193 "Use a carrier-specific Data Reduction Proxy for testing.";
1194 1194
1195 const char kEnableDataReductionProxySavingsPromoName[] = 1195 const char kEnableDataReductionProxySavingsPromoName[] =
1196 "Data Saver 1 MB Savings Promo"; 1196 "Data Saver 1 MB Savings Promo";
1197 1197
1198 const char kEnableDataReductionProxySavingsPromoDescription[] = 1198 const char kEnableDataReductionProxySavingsPromoDescription[] =
1199 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has " 1199 "Enable a Data Saver promo for 1 MB of savings. If Data Saver has "
1200 "already saved 1 MB of data, then the promo will not be shown. Data " 1200 "already saved 1 MB of data, then the promo will not be shown. Data "
1201 "Saver must be enabled for the promo to be shown."; 1201 "Saver must be enabled for the promo to be shown.";
1202 1202
1203 const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
1204
1205 const char kEnableClientLoFiDescription[] =
1206 "Enable showing low fidelity images on some pages on slow networks.";
1207
1208 const char kEnableClientPlaceholdersForServerLoFiName[] =
megjablon 2017/06/30 18:19:21 Unused. Remove.
sclittle 2017/06/30 21:21:06 Done.
1209 "Show client placeholders for Server Lo-Fi images";
1210
1211 const char kEnableClientPlaceholdersForServerLoFiDescription[] =
megjablon 2017/06/30 18:19:21 Unused. Remove.
sclittle 2017/06/30 21:21:06 Done.
1212 "Enable showing Client Lo-Fi placeholders in the place of Server Lo-Fi "
1213 "images.";
1214
1203 #if defined(OS_ANDROID) 1215 #if defined(OS_ANDROID)
1204 1216
1205 const char kEnableDataReductionProxyMainMenuName[] = 1217 const char kEnableDataReductionProxyMainMenuName[] =
1206 "Enable Data Saver main menu footer"; 1218 "Enable Data Saver main menu footer";
1207 1219
1208 const char kEnableDataReductionProxyMainMenuDescription[] = 1220 const char kEnableDataReductionProxyMainMenuDescription[] =
1209 "Enables the Data Saver footer in the main menu"; 1221 "Enables the Data Saver footer in the main menu";
1210 1222
1211 const char kEnableDataReductionProxySiteBreakdownName[] = 1223 const char kEnableDataReductionProxySiteBreakdownName[] =
1212 "Data Saver Site Breakdown"; 1224 "Data Saver Site Breakdown";
1213 1225
1214 const char kEnableDataReductionProxySiteBreakdownDescription[] = 1226 const char kEnableDataReductionProxySiteBreakdownDescription[] =
1215 "Enable the site breakdown on the Data Saver settings page."; 1227 "Enable the site breakdown on the Data Saver settings page.";
1216 1228
1217 const char kEnableOfflinePreviewsName[] = "Offline Page Previews"; 1229 const char kEnableOfflinePreviewsName[] = "Offline Page Previews";
1218 1230
1219 const char kEnableOfflinePreviewsDescription[] = 1231 const char kEnableOfflinePreviewsDescription[] =
1220 "Enable showing offline page previews on slow networks."; 1232 "Enable showing offline page previews on slow networks.";
1221 1233
1222 const char kEnableClientLoFiName[] = "Client-side Lo-Fi previews";
1223
1224 const char kEnableClientLoFiDescription[] =
1225 "Enable showing low fidelity images on some pages on slow networks.";
1226
1227 #endif // defined(OS_ANDROID) 1234 #endif // defined(OS_ANDROID)
1228 1235
1229 const char kLcdTextName[] = "LCD text antialiasing"; 1236 const char kLcdTextName[] = "LCD text antialiasing";
1230 1237
1231 const char kLcdTextDescription[] = 1238 const char kLcdTextDescription[] =
1232 "If disabled, text is rendered with grayscale antialiasing instead of " 1239 "If disabled, text is rendered with grayscale antialiasing instead of "
1233 "LCD (subpixel) when doing accelerated compositing."; 1240 "LCD (subpixel) when doing accelerated compositing.";
1234 1241
1235 const char kDistanceFieldTextName[] = "Distance field text"; 1242 const char kDistanceFieldTextName[] = "Distance field text";
1236 1243
(...skipping 2050 matching lines...) Expand 10 before | Expand all | Expand 10 after
3287 "in non-sticky mode (do not change work area in non-sticky mode)."; 3294 "in non-sticky mode (do not change work area in non-sticky mode).";
3288 3295
3289 const char kUiDevToolsName[] = "Enable native UI inspection"; 3296 const char kUiDevToolsName[] = "Enable native UI inspection";
3290 const char kUiDevToolsDescription[] = 3297 const char kUiDevToolsDescription[] =
3291 "Enables inspection of native UI elements. For local inspection use " 3298 "Enables inspection of native UI elements. For local inspection use "
3292 "chrome://inspect#other"; 3299 "chrome://inspect#other";
3293 3300
3294 #endif // defined(OS_CHROMEOS) 3301 #endif // defined(OS_CHROMEOS)
3295 3302
3296 } // namespace flag_descriptions 3303 } // namespace flag_descriptions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698