tree: 4ae4101a971be702d961ad4a69d44b20b1e6d4b8 [path history] [tgz]
  1. app_management/
  2. color_change_listener/
  3. commerce/
  4. composebox/
  5. cr_shortcut_input/
  6. customize_color_scheme_mode/
  7. help_bubble/
  8. history/
  9. history_clusters/
  10. history_embeddings/
  11. localized_link/
  12. managed_dialog/
  13. managed_footnote/
  14. most_visited/
  15. page_image_service/
  16. search/
  17. searchbox/
  18. theme_color_picker/
  19. OWNERS
  20. README.md
ui/webui/resources/cr_components/README.md

This directory contains complex Polymer web components for Web UI. They may be shared between Settings, login, stand alone dialogs, etc.

These components are allowed to use I18nBehavior. The Web UI hosting these components is expected to provide loadTimeData with any necessary strings. TODO(stevenjb/dschuyler): Add support for i18n{} substitution.

These components may also use chrome and extension APIs, e.g. chrome.send (through a browser proxy) or chrome.settingsPrivate. The C++ code hosting the component is expected to handle these calls.

For simpler components with no I18n or chrome dependencies, see cr_elements.

See build_webui() as well as example from existing cr_components/ subfolders, for the recommended way of building individual cr_components/.

cr_components/ that have a dedicated ts_library() or build_webui() target should not use relative paths to other files in ui/webui/resources/, and users of these components must add a dependency on the ts_library target to use the component.