commit | 9e5ff3d5d90764105ac0eef919f66b3406b64ffc | [log] [tgz] |
---|---|---|
author | Nicolas Ouellet-payeur <[email protected]> | Wed Jun 20 16:07:16 2018 |
committer | Commit Bot <[email protected]> | Wed Jun 20 16:07:16 2018 |
tree | ba244c4de49285c472617cb4149bd6db736196d7 | |
parent | f9975bfffa230d77cf81a3062ea3f3c0a6dc0d05 [diff] [blame] |
Add feature flag to enable/disable Translate. This allows the user to enable/disable the Translate popup, either in chrome://flags, or by using the `--disable-features=TranslateUI` command-line flag. Bug: 770776 Change-Id: I66af0ce5de568bafb45e0e501cb4f481ac6d6fb3 Reviewed-on: https://chromium-review.googlesource.com/1105311 Commit-Queue: Nicolas Ouellet-Payeur <[email protected]> Reviewed-by: Michael Martis <[email protected]> Reviewed-by: anthonyvd <[email protected]> Cr-Commit-Position: refs/heads/master@{#568860}
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h index 74ad0f2..8146bee 100644 --- a/chrome/browser/flag_descriptions.h +++ b/chrome/browser/flag_descriptions.h
@@ -1089,6 +1089,9 @@ extern const char kTranslateRankerEnforcementName[]; extern const char kTranslateRankerEnforcementDescription[]; +extern const char kTranslateUIName[]; +extern const char kTranslateUIDescription[]; + extern const char kTreatInsecureOriginAsSecureName[]; extern const char kTreatInsecureOriginAsSecureDescription[];