tree: 9d4899dccd91866782076256a40ea8be4f633238 [path history] [tgz]
  1. chromeos/
  2. cr_a11y_announcer/
  3. cr_action_menu/
  4. cr_auto_img/
  5. cr_button/
  6. cr_checkbox/
  7. cr_dialog/
  8. cr_drawer/
  9. cr_expand_button/
  10. cr_fingerprint/
  11. cr_grid/
  12. cr_icon_button/
  13. cr_input/
  14. cr_lazy_render/
  15. cr_link_row/
  16. cr_lottie/
  17. cr_menu_selector/
  18. cr_profile_avatar_selector/
  19. cr_radio_button/
  20. cr_radio_group/
  21. cr_search_field/
  22. cr_searchable_drop_down/
  23. cr_slider/
  24. cr_splitter/
  25. cr_tabs/
  26. cr_toast/
  27. cr_toggle/
  28. cr_toolbar/
  29. cr_view_manager/
  30. policy/
  31. action_link_css.html
  32. BUILD.gn
  33. cr_actionable_row_style.html
  34. cr_container_shadow_behavior.html
  35. cr_container_shadow_behavior.js
  36. cr_container_shadow_behavior.m.d.ts
  37. cr_container_shadow_mixin.ts
  38. cr_icons_css.html
  39. cr_nav_menu_item_style.html
  40. cr_nav_menu_item_style.ts
  41. cr_page_host_style_css.html
  42. cr_page_host_style_css.js
  43. cr_scrollable_behavior.html
  44. cr_scrollable_behavior.js
  45. cr_scrollable_behavior.m.d.ts
  46. find_shortcut_behavior.d.ts
  47. find_shortcut_behavior.js
  48. find_shortcut_mixin.ts
  49. hidden_style_css.html
  50. icons.html
  51. md_select_css.html
  52. mouse_hoverable_mixin.ts
  53. mwb_element_shared_style.html
  54. mwb_element_shared_style.ts
  55. mwb_shared_icons.html
  56. mwb_shared_icons.ts
  57. mwb_shared_style.html
  58. mwb_shared_style.ts
  59. mwb_shared_vars.html
  60. mwb_shared_vars.ts
  61. README.md
  62. search_highlight_style_css.html
  63. search_highlight_style_css.ts
  64. shared_style_css.html
  65. 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.