Adds image labels option to accessibility settings on all platforms.
This is hidden behind the feature flag. Strings are not finalized yet,
so strings are marked as untranslatable and no screenshots have been
uploaded yet.
Bug: 905419
Change-Id: I223a3a759b5dfd6449155f21a5118d2c4b9656b9
Reviewed-on: https://chromium-review.googlesource.com/c/1394314
Commit-Queue: Katie Dektar <[email protected]>
Reviewed-by: Gabriel Charette <[email protected]>
Reviewed-by: Dan Beam <[email protected]>
Reviewed-by: David Tseng <[email protected]>
Cr-Commit-Position: refs/heads/master@{#620614}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 58dfb84..5d57bb1 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -10,6 +10,7 @@
#include "base/trace_event/trace_event.h"
#include "build/build_config.h"
#include "chrome/browser/about_flags.h"
+#include "chrome/browser/accessibility/accessibility_labels_prefs.h"
#include "chrome/browser/accessibility/accessibility_ui.h"
#include "chrome/browser/accessibility/invert_bubble_prefs.h"
#include "chrome/browser/browser_process_impl.h"
@@ -558,6 +559,7 @@
TRACE_EVENT0("browser", "chrome::RegisterProfilePrefs");
SCOPED_UMA_HISTOGRAM_TIMER("Settings.RegisterProfilePrefsTime");
// User prefs. Please keep this list alphabetized.
+ accessibility_prefs::RegisterAccessibilityLabelsProfilePrefs(registry);
AccessibilityUIMessageHandler::RegisterProfilePrefs(registry);
autofill::prefs::RegisterProfilePrefs(registry);
browsing_data::prefs::RegisterBrowserUserPrefs(registry);
@@ -761,8 +763,8 @@
#endif
#if defined(TOOLKIT_VIEWS)
+ accessibility_prefs::RegisterInvertBubbleUserPrefs(registry);
RegisterBrowserViewProfilePrefs(registry);
- RegisterInvertBubbleUserPrefs(registry);
#endif
#if defined(OS_CHROMEOS)