pref_names.cc 1015 B

1234567891011121314151617181920212223
  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
  3. // found in the LICENSE file.
  4. #include "components/dom_distiller/core/pref_names.h"
  5. namespace dom_distiller {
  6. namespace prefs {
  7. // Path to the integer corresponding to user's preference theme.
  8. const char kFont[] = "dom_distiller.font_family";
  9. // Path to the integer corresponding to user's preference font family.
  10. const char kTheme[] = "dom_distiller.theme";
  11. // Path to the float corresponding to user's preference font scaling.
  12. const char kFontScale[] = "dom_distiller.font_scale";
  13. // Path to the boolean whether Reader Mode for Accessibility option is enabled.
  14. const char kReaderForAccessibility[] = "dom_distiller.reader_for_accessibility";
  15. // A boolean pref set to true if the option to use reader mode should be visible
  16. // on articles, when available.
  17. const char kOfferReaderMode[] = "dom_distiller.offer_reader_mode";
  18. } // namespace prefs
  19. } // namespace dom_distiller