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

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

Issue 2853523002: [rendertext,i18n] Added flag to force RTL rendering (Closed)
Patch Set: Corrected ordering and text, added cached look-ups 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 1584 matching lines...) Expand 10 before | Expand all | Expand 10 after
1595 "sync to all Chrome devices."; 1595 "sync to all Chrome devices.";
1596 1596
1597 #endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID) 1597 #endif // defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
1598 1598
1599 const char kForceUiDirectionName[] = "Force UI direction"; 1599 const char kForceUiDirectionName[] = "Force UI direction";
1600 1600
1601 const char kForceUiDirectionDescription[] = 1601 const char kForceUiDirectionDescription[] =
1602 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) " 1602 "Explicitly force the UI to left-to-right (LTR) or right-to-left (RTL) "
1603 "mode, overriding the default direction of the UI language."; 1603 "mode, overriding the default direction of the UI language.";
1604 1604
1605 const char kForceUiDirectionLtr[] = "Left-to-right"; 1605 const char kForceTextDirectionName[] = "Force text direction";
1606 1606
1607 const char kForceUiDirectionRtl[] = "Right-to-left"; 1607 const char kForceTextDirectionDescription[] =
1608 "Explicitly force the per-character directionality of UI text to "
1609 "left-to-right (LTR) or right-to-left (RTL) mode, overriding the "
1610 "default direction of the character language.";
1611
1612 const char kForceDirectionLtr[] = "Left-to-right";
1613
1614 const char kForceDirectionRtl[] = "Right-to-left";
1608 1615
1609 #if defined(OS_WIN) || defined(OS_LINUX) 1616 #if defined(OS_WIN) || defined(OS_LINUX)
1610 1617
1611 const char kEnableInputImeApiName[] = "Enable Input IME API"; 1618 const char kEnableInputImeApiName[] = "Enable Input IME API";
1612 1619
1613 const char kEnableInputImeApiDescription[] = 1620 const char kEnableInputImeApiDescription[] =
1614 "Enable the use of chrome.input.ime API."; 1621 "Enable the use of chrome.input.ime API.";
1615 1622
1616 #endif // defined(OS_WIN) || defined(OS_LINUX) 1623 #endif // defined(OS_WIN) || defined(OS_LINUX)
1617 1624
(...skipping 1409 matching lines...) Expand 10 before | Expand all | Expand 10 after
3027 #endif // defined(OS_ANDROID) 3034 #endif // defined(OS_ANDROID)
3028 3035
3029 const char kEnableIdleTimeSpellCheckingName[] = 3036 const char kEnableIdleTimeSpellCheckingName[] =
3030 "Enable idle time spell checker"; 3037 "Enable idle time spell checker";
3031 3038
3032 const char kEnableIdleTimeSpellCheckingDescription[] = 3039 const char kEnableIdleTimeSpellCheckingDescription[] =
3033 "Make spell-checking code run only when the browser is idle, so that input " 3040 "Make spell-checking code run only when the browser is idle, so that input "
3034 "latency is reduced, especially when editing long articles, emails, etc."; 3041 "latency is reduced, especially when editing long articles, emails, etc.";
3035 3042
3036 } // namespace flag_descriptions 3043 } // namespace flag_descriptions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698