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

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

Issue 2852043002: Add a flag to enable Translate Compact Infobar on Android. (Closed)
Patch Set: fix LoginCustomFlags Created 3 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 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 1331 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 1342
1343 #if defined(OS_ANDROID) 1343 #if defined(OS_ANDROID)
1344 1344
1345 const char kPullToRefreshEffectName[] = "The pull-to-refresh effect"; 1345 const char kPullToRefreshEffectName[] = "The pull-to-refresh effect";
1346 1346
1347 const char kPullToRefreshEffectDescription[] = 1347 const char kPullToRefreshEffectDescription[] =
1348 "Page reloads triggered by vertically overscrolling content."; 1348 "Page reloads triggered by vertically overscrolling content.";
1349 1349
1350 #endif // defined(OS_ANDROID) 1350 #endif // defined(OS_ANDROID)
1351 1351
1352 #if defined(OS_ANDROID)
1353
gone 2017/05/04 01:37:07 definitely combine with previous block
Leo 2017/05/05 02:27:54 Done.
1354 const char kTranslateCompactUIName[] = "New Translate Infobar";
1355
1356 const char kTranslateCompactUIDescription[] =
1357 "Enable the new Translate compact infobar UI.";
1358
1359 #endif // defined(OS_ANDROID)
1360
1352 #if defined(OS_MACOSX) 1361 #if defined(OS_MACOSX)
1353 1362
1354 const char kTranslateNewUxName[] = "New Translate UX"; 1363 const char kTranslateNewUxName[] = "New Translate UX";
1355 1364
1356 const char kTranslateNewUxDescription[] = 1365 const char kTranslateNewUxDescription[] =
1357 "Enable the new Translate bubble UX is offered instead of the infobar."; 1366 "Enable the new Translate bubble UX is offered instead of the infobar.";
1358 1367
1359 #endif // defined(OS_MACOSX) 1368 #endif // defined(OS_MACOSX)
1360 1369
1361 const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI"; 1370 const char kTranslate2016q2UiName[] = "Translate 2016Q2 UI";
(...skipping 1690 matching lines...) Expand 10 before | Expand all | Expand 10 after
3052 3061
3053 const char kOmniboxDisplayTitleForCurrentUrlName[] = 3062 const char kOmniboxDisplayTitleForCurrentUrlName[] =
3054 "Include title for the current URL in the omnibox"; 3063 "Include title for the current URL in the omnibox";
3055 3064
3056 const char kOmniboxDisplayTitleForCurrentUrlDescription[] = 3065 const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
3057 "In the event that the omnibox provides suggestions on-focus, the URL of " 3066 "In the event that the omnibox provides suggestions on-focus, the URL of "
3058 "the current page is provided as the first suggestion without a title. " 3067 "the current page is provided as the first suggestion without a title. "
3059 "Enabling this flag causes the title to be displayed."; 3068 "Enabling this flag causes the title to be displayed.";
3060 3069
3061 } // namespace flag_descriptions 3070 } // namespace flag_descriptions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698