tree: d64dcf0348f78881dacf444d9b57443f3f3c6d91 [path history] [tgz]
  1. chromeos/
  2. cr_action_menu/
  3. cr_button/
  4. cr_checkbox/
  5. cr_dialog/
  6. cr_drawer/
  7. cr_expand_button/
  8. cr_fingerprint/
  9. cr_grid/
  10. cr_icon_button/
  11. cr_input/
  12. cr_lazy_render/
  13. cr_link_row/
  14. cr_lottie/
  15. cr_menu_selector/
  16. cr_profile_avatar_selector/
  17. cr_radio_button/
  18. cr_radio_group/
  19. cr_search_field/
  20. cr_searchable_drop_down/
  21. cr_slider/
  22. cr_splitter/
  23. cr_tabs/
  24. cr_toast/
  25. cr_toggle/
  26. cr_toolbar/
  27. cr_view_manager/
  28. policy/
  29. action_link_css.html
  30. BUILD.gn
  31. cr_container_shadow_behavior.html
  32. cr_container_shadow_behavior.js
  33. cr_icons_css.html
  34. cr_page_host_style_css.html
  35. cr_scrollable_behavior.html
  36. cr_scrollable_behavior.js
  37. find_shortcut_behavior.html
  38. find_shortcut_behavior.js
  39. hidden_style_css.html
  40. icons.html
  41. md_select_css.html
  42. mwb_shared_icons.html
  43. mwb_shared_icons.js
  44. mwb_shared_style.html
  45. mwb_shared_style.js
  46. mwb_shared_vars.html
  47. mwb_shared_vars.js
  48. README.md
  49. search_highlight_style_css.html
  50. shared_style_css.html
  51. shared_vars_css.html
ui/webui/resources/cr_elements/README.md

This directory contains simple Polymer web components for Web UI. These components may be shared across any WebUI and should be compatible across all platforms (including ios).

These web components may not contain any i18n dependencies and may not use I18nBehavior. Instead, any text (labels, tooltips, etc) should be passed as properties.

These web components should avoid the use of chrome.send and should generally avoid dependencies on extension APIs as well.

TODO(dpapad): Audit elements currently using chrome.settingsPrivate and decide whether to move these or update the guidelines.

For more complex components, see cr_components.