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

Unified Diff: base/i18n/rtl.h

Issue 2626093004: EnumTraits for base::i18n::TextDirection. (Closed)
Patch Set: Addressed feedback. Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/autofill/content/common/autofill_driver.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/i18n/rtl.h
diff --git a/base/i18n/rtl.h b/base/i18n/rtl.h
index bba93ce8f56d2bc8d7161a081eabaf7779dfda3a..df15cd0208a86738d84563db4c9b9f20aafc256f 100644
--- a/base/i18n/rtl.h
+++ b/base/i18n/rtl.h
@@ -31,7 +31,7 @@ enum TextDirection {
UNKNOWN_DIRECTION = 0,
RIGHT_TO_LEFT = 1,
LEFT_TO_RIGHT = 2,
- TEXT_DIRECTION_NUM_DIRECTIONS = 3,
+ TEXT_DIRECTION_MAX = LEFT_TO_RIGHT,
};
// Get the locale that the currently running process has been configured to use.
« no previous file with comments | « no previous file | components/autofill/content/common/autofill_driver.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698