├── vendor ├── cr_elements │ ├── cr_slider │ │ ├── OWNERS │ │ └── BUILD.gn │ ├── OWNERS │ ├── chromeos │ │ ├── cr_picture │ │ │ ├── cr_picture_types.html │ │ │ ├── cr_png_behavior.html │ │ │ ├── cr_picture_types.js │ │ │ ├── icons.html │ │ │ └── BUILD.gn │ │ ├── OWNERS │ │ ├── cr_lottie │ │ │ ├── BUILD.gn │ │ │ └── cr_lottie.html │ │ ├── BUILD.gn │ │ └── cros_color_overrides.html │ ├── policy │ │ ├── cr_policy_pref_behavior.html │ │ ├── cr_policy_indicator_behavior.html │ │ ├── cr_policy_network_behavior_mojo.html │ │ ├── cr_tooltip_icon.js │ │ ├── cr_policy_indicator.html │ │ ├── cr_policy_pref_indicator.html │ │ ├── cr_policy_indicator.js │ │ ├── cr_policy_network_indicator_mojo.html │ │ ├── cr_tooltip_icon.html │ │ └── cr_policy_pref_behavior.js │ ├── cr_search_field │ │ ├── cr_search_field_behavior.html │ │ └── cr_search_field.js │ ├── cr_container_shadow_behavior.html │ ├── cr_radio_button │ │ ├── cr_radio_button_behavior.html │ │ ├── cr_radio_button.js │ │ └── cr_radio_button.html │ ├── cr_scrollable_behavior.html │ ├── cr_lazy_render │ │ ├── cr_lazy_render.html │ │ └── BUILD.gn │ ├── cr_splitter │ │ └── BUILD.gn │ ├── hidden_style_css.html │ ├── cr_profile_avatar_selector │ │ └── cr_profile_avatar_selector_grid.html │ ├── cr_view_manager │ │ ├── cr_view_manager.html │ │ └── BUILD.gn │ ├── README.md │ ├── cr_page_host_style_css.html │ ├── cr_radio_group │ │ ├── cr_radio_group.html │ │ └── BUILD.gn │ ├── cr_tabs │ │ └── BUILD.gn │ ├── cr_link_row │ │ └── BUILD.gn │ ├── action_link_css.html │ ├── cr_fingerprint │ │ └── BUILD.gn │ ├── cr_toast │ │ └── cr_toast_manager.html │ ├── cr_expand_button │ │ ├── BUILD.gn │ │ └── cr_expand_button.html │ ├── cr_toggle │ │ └── BUILD.gn │ ├── cr_checkbox │ │ └── BUILD.gn │ ├── cr_icon_button │ │ └── BUILD.gn │ ├── cr_drawer │ │ └── BUILD.gn │ ├── cr_button │ │ └── BUILD.gn │ ├── cr_dialog │ │ └── BUILD.gn │ ├── search_highlight_style_css.html │ └── cr_input │ │ └── BUILD.gn ├── html │ ├── assert.html │ ├── action_link.html │ ├── cr │ │ ├── ui │ │ │ ├── menu.html │ │ │ ├── store.html │ │ │ ├── overlay.html │ │ │ ├── menu_item.html │ │ │ ├── menu_button.html │ │ │ ├── store_client.html │ │ │ ├── focus_manager.html │ │ │ ├── position_util.html │ │ │ ├── array_data_model.html │ │ │ ├── context_menu_handler.html │ │ │ ├── list_selection_model.html │ │ │ ├── list_selection_controller.html │ │ │ ├── list.html │ │ │ ├── list_item.html │ │ │ ├── splitter.html │ │ │ ├── drag_wrapper.html │ │ │ ├── focus_outline_manager.html │ │ │ ├── keyboard_shortcut_list.html │ │ │ ├── focus_without_ink.html │ │ │ ├── command.html │ │ │ ├── focus_grid.html │ │ │ ├── focus_row.html │ │ │ └── focus_row_behavior.html │ │ ├── event_target.html │ │ └── ui.html │ ├── event_tracker.html │ ├── parse_html_subset.html │ ├── util.html │ ├── cr.html │ ├── promise_resolver.html │ ├── i18n_behavior.html │ ├── icon.html │ ├── search_highlight_utils.html │ ├── web_ui_listener_behavior.html │ ├── test_loader.html │ ├── trash.html │ ├── list_property_update_behavior.html │ ├── polymer.html │ ├── load_time_data.html │ └── find_shortcut_behavior.html ├── cr_components │ ├── chromeos │ │ ├── smb_shares │ │ │ ├── OWNERS │ │ │ └── smb_browser_proxy.html │ │ ├── cellular_setup │ │ │ ├── OWNERS │ │ │ ├── webview_post_util.html │ │ │ ├── error_1x.png │ │ │ ├── error_2x.png │ │ │ ├── final_page_success_1x.png │ │ │ ├── final_page_success_2x.png │ │ │ ├── mojo_interface_provider.html │ │ │ ├── base_page.js │ │ │ ├── base_page.html │ │ │ ├── final_page.html │ │ │ ├── mojo_interface_provider.js │ │ │ ├── button_bar.js │ │ │ ├── sim_detect_page.js │ │ │ ├── final_page.js │ │ │ └── sim_detect_page.html │ │ ├── quick_unlock │ │ │ ├── OWNERS │ │ │ ├── lock_screen_constants.html │ │ │ ├── BUILD.gn │ │ │ └── lock_screen_constants.js │ │ ├── network │ │ │ ├── network_list_types.html │ │ │ ├── network_config_element_behavior.html │ │ │ ├── onc_mojo.html │ │ │ ├── cellular_4.svg │ │ │ ├── cellular_0.svg │ │ │ ├── network_listener_behavior.html │ │ │ ├── OWNERS │ │ │ ├── cellular_3.svg │ │ │ ├── cellular_1.svg │ │ │ ├── cellular_2.svg │ │ │ ├── wifi_4.svg │ │ │ ├── wifi_0.svg │ │ │ ├── ethernet.svg │ │ │ ├── wifi_off.svg │ │ │ ├── cellular_off.svg │ │ │ ├── vpn.svg │ │ │ ├── wifi_2.svg │ │ │ ├── wifi_3.svg │ │ │ ├── wifi_1.svg │ │ │ ├── mojo_interface_provider.html │ │ │ ├── cellular_0_with_x.svg │ │ │ ├── network_config_toggle.js │ │ │ ├── wifi_0_with_x.svg │ │ │ ├── network_list_types.js │ │ │ ├── network_config_element_behavior.js │ │ │ ├── network_config_input.js │ │ │ ├── mojo_interface_provider.js │ │ │ ├── network_proxy_exclusions.js │ │ │ ├── network_config_toggle.html │ │ │ ├── network_listener_behavior.js │ │ │ ├── network_proxy_exclusions.html │ │ │ ├── network_proxy_input.html │ │ │ ├── network_config_input.html │ │ │ └── network_select.html │ │ ├── OWNERS │ │ └── multidevice_setup │ │ │ ├── OWNERS │ │ │ ├── start_setup_icon_1x.png │ │ │ ├── start_setup_icon_2x.png │ │ │ ├── setup_succeeded_icon_1x.png │ │ │ ├── setup_succeeded_icon_2x.png │ │ │ ├── fake_mojo_service.html │ │ │ ├── multidevice_setup_delegate.html │ │ │ ├── multidevice_setup_browser_proxy.html │ │ │ ├── ui_page_container_behavior.html │ │ │ ├── mojo_api.html │ │ │ ├── ui_page.js │ │ │ ├── multidevice_setup_delegate.js │ │ │ ├── multidevice_setup_shared_css.html │ │ │ ├── mojo_api.js │ │ │ ├── multidevice_setup_browser_proxy.js │ │ │ ├── setup_succeeded_page.js │ │ │ ├── ui_page.html │ │ │ └── button_bar.js │ ├── OWNERS │ ├── certificate_manager │ │ ├── certificate_manager_types.html │ │ ├── certificates_browser_proxy.html │ │ ├── certificate_shared_css.html │ │ ├── certificate_entry.js │ │ ├── certificates_error_dialog.js │ │ ├── certificates_error_dialog.html │ │ ├── certificate_delete_confirmation_dialog.html │ │ ├── certificate_manager_types.js │ │ └── certificate_password_decryption_dialog.html │ ├── README.md │ ├── BUILD.gn │ └── managed_footnote │ │ └── BUILD.gn ├── roboto │ ├── OWNERS │ ├── roboto-bold.woff2 │ ├── roboto-medium.woff2 │ └── roboto-regular.woff2 ├── images │ ├── x.png │ ├── 2x │ │ ├── x.png │ │ ├── check.png │ │ ├── select.png │ │ ├── x-hover.png │ │ ├── x-pressed.png │ │ ├── phone_small.png │ │ ├── checkbox_black.png │ │ ├── checkbox_white.png │ │ ├── laptop_small.png │ │ ├── tablet_small.png │ │ ├── disabled_select.png │ │ └── apps │ │ │ ├── topbar_button_close.png │ │ │ ├── button_butter_bar_close.png │ │ │ ├── topbar_button_maximize.png │ │ │ ├── topbar_button_minimize.png │ │ │ ├── button_butter_bar_close_hover.png │ │ │ └── button_butter_bar_close_pressed.png │ ├── plus.png │ ├── check.png │ ├── minus.png │ ├── select.png │ ├── x-hover.png │ ├── icon_file.png │ ├── x-pressed.png │ ├── checkbox_black.png │ ├── checkbox_white.png │ ├── 200-logo_chrome.png │ ├── 200-logo_googleg.png │ ├── disabled_select.png │ ├── drop_down_arrow_black.svg │ ├── apps │ │ ├── topbar_button_close.png │ │ ├── topbar_button_maximize.png │ │ ├── topbar_button_minimize.png │ │ ├── button_butter_bar_close.png │ │ ├── button_butter_bar_close_hover.png │ │ └── button_butter_bar_close_pressed.png │ ├── arrow_down.svg │ ├── arrow_right.svg │ ├── dark │ │ ├── arrow_down.svg │ │ └── icon_search.svg │ ├── drop_down_arrow_gray.svg │ ├── drop_down_arrow_white.svg │ ├── icon_arrow_dropdown.svg │ ├── add.svg │ ├── icon_expand_less.svg │ ├── icon_expand_more.svg │ ├── tree_triangle.svg │ ├── icon_arrow_back.svg │ ├── menu.svg │ ├── icon_delete_gray.svg │ ├── icon_picture_delete.svg │ ├── warning.svg │ ├── icon_clear.svg │ ├── open_in_new.svg │ ├── icon_more_vert.svg │ ├── error.svg │ ├── info.svg │ ├── check_circle_green.svg │ ├── add_box.svg │ ├── icon_tabs.svg │ ├── icon_cancel.svg │ ├── icon_refresh.svg │ ├── icon_search.svg │ ├── check_circle.svg │ ├── cancel_red.svg │ ├── icon_error_outline.svg │ ├── icon_visibility.svg │ ├── icon_bookmarks.svg │ ├── i_circle.svg │ ├── icon_copy_content.svg │ ├── icon_history.svg │ ├── business.svg │ ├── account_box.svg │ ├── icon_extensions.svg │ ├── account_circle.svg │ ├── error_badge.svg │ ├── lock.svg │ ├── help.svg │ ├── extension.svg │ ├── group.svg │ ├── supervisor_account.svg │ ├── backspace.svg │ ├── hazard.svg │ ├── icon_themes.svg │ ├── icon_visibility_off.svg │ ├── account_child_invert.svg │ ├── icon_passwords.svg │ ├── hidekeyboard.svg │ ├── eol.svg │ ├── icon_settings.svg │ ├── icon_settings_white.svg │ ├── settings.svg │ ├── vr_back.svg │ ├── vr_overflow.svg │ ├── throbber_medium.svg │ ├── incognito_splash.svg │ ├── throbber_small.svg │ └── vr_reload.svg ├── js │ ├── ios │ │ ├── OWNERS │ │ ├── BUILD.gn │ │ └── web_ui.js │ ├── i18n_template_process.js │ ├── i18n_template.js │ ├── template_data_externs.js │ ├── dom_automation_controller.js │ ├── polymer_config.js │ ├── jstemplate_compiled.js │ ├── cr │ │ ├── BUILD.gn │ │ └── event_target.js │ ├── test_loader.js │ ├── crisper_loader.js │ └── web_ui_listener_behavior.js ├── tools │ └── tests │ │ ├── with_ignore_expected.js │ │ ├── with_cr_define_expected.js │ │ ├── with_rename_expected.js │ │ ├── with_rename.js │ │ ├── without_cr_define_expected.js │ │ ├── with_ignore.js │ │ ├── without_cr_define.js │ │ └── with_cr_define.js ├── OWNERS ├── css │ ├── throbber.css │ ├── spinner.css │ ├── bubble_button.css │ ├── i18n_process.css │ ├── action_link.css │ ├── butter_bar.css │ ├── md_colors.css │ ├── roboto.css │ ├── text_defaults.css │ ├── menu_button.css │ ├── text_defaults_md.css │ └── apps │ │ └── common.css ├── BUILD.gn └── cr_polymer_resources_v3.grdp ├── OWNERS ├── README.md ├── elements ├── shared-vars.html ├── viewer-ink-host.html ├── viewer-error-screen.html ├── icons.js ├── shared-vars.js ├── viewer-form-warning.html ├── viewer-password-screen.html ├── viewer-error-screen.js ├── viewer-page-indicator.html ├── viewer-form-warning.js └── viewer-page-selector.html ├── ink ├── index.html └── BUILD.gn ├── pdf_fitting_type.js ├── annotation_tool.js ├── index.html ├── manifest.json └── index.css /vendor/cr_elements/cr_slider/OWNERS: -------------------------------------------------------------------------------- 1 | aee@chromium.org 2 | -------------------------------------------------------------------------------- /vendor/html/assert.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/smb_shares/OWNERS: -------------------------------------------------------------------------------- 1 | khorimoto@chromium.org -------------------------------------------------------------------------------- /vendor/cr_elements/OWNERS: -------------------------------------------------------------------------------- 1 | michaelpg@chromium.org 2 | stevenjb@chromium.org 3 | -------------------------------------------------------------------------------- /vendor/html/action_link.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/roboto/OWNERS: -------------------------------------------------------------------------------- 1 | mathp@chromium.org 2 | 3 | # COMPONENT: UI>Browser 4 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/menu.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/store.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/html/event_tracker.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/html/cr/event_target.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/overlay.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/menu_item.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/html/parse_html_subset.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/images/x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/x.png -------------------------------------------------------------------------------- /vendor/html/cr/ui/menu_button.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/store_client.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/images/2x/x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/x.png -------------------------------------------------------------------------------- /vendor/images/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/plus.png -------------------------------------------------------------------------------- /vendor/html/cr/ui/focus_manager.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/position_util.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/images/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/check.png -------------------------------------------------------------------------------- /vendor/images/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/minus.png -------------------------------------------------------------------------------- /vendor/images/select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/select.png -------------------------------------------------------------------------------- /vendor/images/x-hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/x-hover.png -------------------------------------------------------------------------------- /OWNERS: -------------------------------------------------------------------------------- 1 | dsinclair@chromium.org 2 | hnakashima@chromium.org 3 | 4 | # COMPONENT: Internals>Plugins>PDF 5 | -------------------------------------------------------------------------------- /vendor/cr_components/OWNERS: -------------------------------------------------------------------------------- 1 | dpapad@chromium.org 2 | khorimoto@chromium.org 3 | stevenjb@chromium.org 4 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/cellular_setup/OWNERS: -------------------------------------------------------------------------------- 1 | azeemarshad@chromium.org 2 | khorimoto@chromium.org 3 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/quick_unlock/OWNERS: -------------------------------------------------------------------------------- 1 | alemate@chromium.org 2 | 3 | # COMPONENT: UI>Settings 4 | -------------------------------------------------------------------------------- /vendor/cr_elements/chromeos/cr_picture/cr_picture_types.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/array_data_model.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/html/util.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/images/2x/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/check.png -------------------------------------------------------------------------------- /vendor/images/2x/select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/select.png -------------------------------------------------------------------------------- /vendor/images/icon_file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/icon_file.png -------------------------------------------------------------------------------- /vendor/images/x-pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/x-pressed.png -------------------------------------------------------------------------------- /vendor/js/ios/OWNERS: -------------------------------------------------------------------------------- 1 | # TEAM: ios-directory-owners@chromium.org 2 | # OS: iOS 3 | 4 | file://ios/OWNERS 5 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/network_list_types.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/cr_elements/policy/cr_policy_pref_behavior.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/context_menu_handler.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/list_selection_model.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/images/2x/x-hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/x-hover.png -------------------------------------------------------------------------------- /vendor/images/2x/x-pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/x-pressed.png -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/cellular_setup/webview_post_util.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/html/cr/ui.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/images/2x/phone_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/phone_small.png -------------------------------------------------------------------------------- /vendor/images/checkbox_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/checkbox_black.png -------------------------------------------------------------------------------- /vendor/images/checkbox_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/checkbox_white.png -------------------------------------------------------------------------------- /vendor/roboto/roboto-bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/roboto/roboto-bold.woff2 -------------------------------------------------------------------------------- /vendor/tools/tests/with_ignore_expected.js: -------------------------------------------------------------------------------- 1 | console.log('World'); 2 | // clang-format off 3 | // clang-format on 4 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_search_field/cr_search_field_behavior.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/html/cr.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/list_selection_controller.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/images/200-logo_chrome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/200-logo_chrome.png -------------------------------------------------------------------------------- /vendor/images/200-logo_googleg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/200-logo_googleg.png -------------------------------------------------------------------------------- /vendor/images/2x/checkbox_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/checkbox_black.png -------------------------------------------------------------------------------- /vendor/images/2x/checkbox_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/checkbox_white.png -------------------------------------------------------------------------------- /vendor/images/2x/laptop_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/laptop_small.png -------------------------------------------------------------------------------- /vendor/images/2x/tablet_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/tablet_small.png -------------------------------------------------------------------------------- /vendor/images/disabled_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/disabled_select.png -------------------------------------------------------------------------------- /vendor/roboto/roboto-medium.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/roboto/roboto-medium.woff2 -------------------------------------------------------------------------------- /vendor/roboto/roboto-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/roboto/roboto-regular.woff2 -------------------------------------------------------------------------------- /vendor/cr_components/certificate_manager/certificate_manager_types.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/images/2x/disabled_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/disabled_select.png -------------------------------------------------------------------------------- /vendor/images/drop_down_arrow_black.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_components/certificate_manager/certificates_browser_proxy.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/html/promise_resolver.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/network_config_element_behavior.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/cr_elements/chromeos/OWNERS: -------------------------------------------------------------------------------- 1 | file://chrome/browser/resources/settings/chromeos/OWNERS 2 | 3 | # COMPONENT: OS>Systems>Settings 4 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/html/i18n_behavior.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/images/apps/topbar_button_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/apps/topbar_button_close.png -------------------------------------------------------------------------------- /vendor/images/arrow_down.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/tools/tests/with_cr_define_expected.js: -------------------------------------------------------------------------------- 1 | export function foo() {} 2 | function bar() {} 3 | export function baz() {} 4 | 5 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/OWNERS: -------------------------------------------------------------------------------- 1 | file://chrome/browser/resources/settings/chromeos/OWNERS 2 | 3 | # COMPONENT: OS>Systems>Settings 4 | -------------------------------------------------------------------------------- /vendor/html/icon.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/html/search_highlight_utils.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/html/web_ui_listener_behavior.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/images/2x/apps/topbar_button_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/apps/topbar_button_close.png -------------------------------------------------------------------------------- /vendor/images/apps/topbar_button_maximize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/apps/topbar_button_maximize.png -------------------------------------------------------------------------------- /vendor/images/apps/topbar_button_minimize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/apps/topbar_button_minimize.png -------------------------------------------------------------------------------- /vendor/images/arrow_right.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/dark/arrow_down.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/drop_down_arrow_gray.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/drop_down_arrow_white.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/list_item.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/splitter.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/html/test_loader.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /vendor/html/trash.html: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /vendor/images/apps/button_butter_bar_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/apps/button_butter_bar_close.png -------------------------------------------------------------------------------- /vendor/images/icon_arrow_dropdown.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/tools/tests/with_rename_expected.js: -------------------------------------------------------------------------------- 1 | import {Bar} from './module.m.js'; 2 | console.log(Bar); 3 | /** @type {Bar} */ const bar = 'foo'; 4 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/OWNERS: -------------------------------------------------------------------------------- 1 | file://chromeos/components/multidevice/OWNERS 2 | 3 | # COMPONENT: OS>Systems>Multidevice 4 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/drag_wrapper.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/images/2x/apps/button_butter_bar_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/apps/button_butter_bar_close.png -------------------------------------------------------------------------------- /vendor/images/2x/apps/topbar_button_maximize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/apps/topbar_button_maximize.png -------------------------------------------------------------------------------- /vendor/images/2x/apps/topbar_button_minimize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/apps/topbar_button_minimize.png -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/onc_mojo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/images/apps/button_butter_bar_close_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/apps/button_butter_bar_close_hover.png -------------------------------------------------------------------------------- /vendor/tools/tests/with_rename.js: -------------------------------------------------------------------------------- 1 | // #import {Bar} from './module.m.js'; 2 | console.log(cr.foo.Bar); 3 | /** @type {cr.foo.Bar} */ const bar = 'foo'; 4 | -------------------------------------------------------------------------------- /vendor/html/list_property_update_behavior.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/html/polymer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/images/2x/apps/button_butter_bar_close_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/apps/button_butter_bar_close_hover.png -------------------------------------------------------------------------------- /vendor/images/apps/button_butter_bar_close_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/apps/button_butter_bar_close_pressed.png -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/cellular_setup/error_1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/cr_components/chromeos/cellular_setup/error_1x.png -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/cellular_setup/error_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/cr_components/chromeos/cellular_setup/error_2x.png -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/cellular_4.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/cr_elements/chromeos/cr_picture/cr_png_behavior.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/focus_outline_manager.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/images/2x/apps/button_butter_bar_close_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/images/2x/apps/button_butter_bar_close_pressed.png -------------------------------------------------------------------------------- /vendor/OWNERS: -------------------------------------------------------------------------------- 1 | per-file cr_elements_*=michaelpg@chromium.org 2 | per-file cr_elements_*=stevenjb@chromium.org 3 | per-file polymer_resources.grdp=michaelpg@chromium.org 4 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/smb_shares/smb_browser_proxy.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/tools/tests/without_cr_define_expected.js: -------------------------------------------------------------------------------- 1 | import {other} from './other.m.js'; 2 | 3 | export function foo() {} 4 | function bar() {} 5 | export function baz() {} 6 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/keyboard_shortcut_list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/images/add.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/icon_expand_less.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/icon_expand_more.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/cellular_0.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/cr_elements/policy/cr_policy_indicator_behavior.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/html/load_time_data.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/images/tree_triangle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Chrome-pdf 2 | 3 | base the chromium code: 4 | 5 | 6 | https://github.com/chromium/chromium/tree/master/chrome/browser/resources/pdf 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/network_listener_behavior.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/cellular_setup/final_page_success_1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/cr_components/chromeos/cellular_setup/final_page_success_1x.png -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/cellular_setup/final_page_success_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/cr_components/chromeos/cellular_setup/final_page_success_2x.png -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/OWNERS: -------------------------------------------------------------------------------- 1 | azeemarshad@chromium.org 2 | jonmann@chromium.org 3 | khorimoto@chromium.org 4 | stevenjb@chromium.org 5 | 6 | # COMPONENT: UI>Shell>Networking 7 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/quick_unlock/lock_screen_constants.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/images/icon_arrow_back.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/tools/tests/with_ignore.js: -------------------------------------------------------------------------------- 1 | /* #ignore */ console.log('Hello'); 2 | console.log('World'); 3 | // clang-format off 4 | /* #ignore */ console.log('Goodbye'); 5 | // clang-format on 6 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/start_setup_icon_1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/cr_components/chromeos/multidevice_setup/start_setup_icon_1x.png -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/start_setup_icon_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/cr_components/chromeos/multidevice_setup/start_setup_icon_2x.png -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/setup_succeeded_icon_1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/cr_components/chromeos/multidevice_setup/setup_succeeded_icon_1x.png -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/setup_succeeded_icon_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icai/chrome-pdf/master/vendor/cr_components/chromeos/multidevice_setup/setup_succeeded_icon_2x.png -------------------------------------------------------------------------------- /vendor/images/menu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/icon_delete_gray.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/icon_picture_delete.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/warning.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/cellular_3.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/focus_without_ink.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/tools/tests/without_cr_define.js: -------------------------------------------------------------------------------- 1 | // #import {other} from './other.m.js'; 2 | // 3 | 4 | /* #export */ function foo() {} 5 | function bar() {} 6 | /* #export */ function baz() {} 7 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/cellular_1.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/cellular_2.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_container_shadow_behavior.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_radio_button/cr_radio_button_behavior.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/command.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/images/icon_clear.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/wifi_4.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_scrollable_behavior.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/cr_elements/policy/cr_policy_network_behavior_mojo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/fake_mojo_service.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /elements/shared-vars.html: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | -------------------------------------------------------------------------------- /vendor/images/open_in_new.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/wifi_0.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/focus_grid.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/focus_row.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/js/i18n_template_process.js: -------------------------------------------------------------------------------- 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 | 5 | i18nTemplate.process(document, loadTimeData); 6 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/multidevice_setup_delegate.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_lazy_render/cr_lazy_render.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /vendor/html/cr/ui/focus_row_behavior.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /vendor/images/icon_more_vert.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/multidevice_setup_browser_proxy.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | -------------------------------------------------------------------------------- /vendor/images/error.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/info.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/tools/tests/with_cr_define.js: -------------------------------------------------------------------------------- 1 | cr.define('cr.foo', function() { 2 | /* #export */ function foo() {} 3 | function bar() {} 4 | /* #export */ function baz() {} 5 | 6 | // #cr_define_end 7 | return { 8 | foo: foo, 9 | baz: baz, 10 | }; 11 | }); 12 | -------------------------------------------------------------------------------- /vendor/images/check_circle_green.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/add_box.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /elements/viewer-ink-host.html: -------------------------------------------------------------------------------- 1 | 12 | 13 | -------------------------------------------------------------------------------- /vendor/images/icon_tabs.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/js/i18n_template.js: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012 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 | 5 | // 6 | // 7 | -------------------------------------------------------------------------------- /ink/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 13 | -------------------------------------------------------------------------------- /vendor/html/find_shortcut_behavior.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /vendor/images/icon_cancel.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/ethernet.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/images/icon_refresh.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/icon_search.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/check_circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/dark/icon_search.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_elements/chromeos/cr_lottie/BUILD.gn: -------------------------------------------------------------------------------- 1 | import("//third_party/closure_compiler/compile_js.gni") 2 | 3 | js_type_check("closure_compile") { 4 | deps = [ ":cr_lottie" ] 5 | } 6 | 7 | js_library("cr_lottie") { 8 | deps = [ "//ui/webui/resources/js:cr" ] 9 | externs_list = [ "$externs_path/pending.js" ] 10 | } 11 | -------------------------------------------------------------------------------- /vendor/images/cancel_red.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/icon_error_outline.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/icon_visibility.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/icon_bookmarks.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/ui_page_container_behavior.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /vendor/images/i_circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/icon_copy_content.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/images/icon_history.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/wifi_off.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_radio_button/cr_radio_button.js: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 | 5 | Polymer({ 6 | is: 'cr-radio-button', 7 | 8 | behaviors: [ 9 | CrRadioButtonBehavior, 10 | ], 11 | }); 12 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/cellular_off.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/vpn.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/css/throbber.css: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2012 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 | 5 | .throbber { 6 | background: url(../images/throbber_small.svg) no-repeat; 7 | display: inline-block; 8 | height: 16px; 9 | width: 16px; 10 | } 11 | -------------------------------------------------------------------------------- /vendor/images/business.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/account_box.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/js/ios/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2019 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | 7 | js_library("web_ui") { 8 | deps = [ ":mojo_api" ] 9 | } 10 | 11 | js_library("mojo_api") { 12 | } 13 | -------------------------------------------------------------------------------- /vendor/js/template_data_externs.js: -------------------------------------------------------------------------------- 1 | // Copyright 2014 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 | 5 | /** 6 | * @fileoverview Externs for |templateData| global. 7 | * @externs 8 | */ 9 | 10 | /** @type {!Object|undefined} */ 11 | let templateData; 12 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/mojo_api.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/wifi_2.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/wifi_3.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/wifi_1.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/images/icon_extensions.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/cellular_setup/mojo_interface_provider.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/mojo_interface_provider.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/images/account_circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/error_badge.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/lock.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/help.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/extension.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/group.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/cellular_0_with_x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /pdf_fitting_type.js: -------------------------------------------------------------------------------- 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 | 5 | /** 6 | * Enumeration of page fitting types. 7 | * @enum {string} 8 | */ 9 | export const FittingType = { 10 | NONE: 'none', 11 | FIT_TO_PAGE: 'fit-to-page', 12 | FIT_TO_WIDTH: 'fit-to-width', 13 | FIT_TO_HEIGHT: 'fit-to-height' 14 | }; 15 | -------------------------------------------------------------------------------- /annotation_tool.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 | 5 | // @fileoverview This file is not included in the build. Only used for type 6 | // checking purposes. 7 | 8 | /** 9 | * @typedef {{ 10 | * tool: string, 11 | * size: number, 12 | * color: (string|null), 13 | * }} 14 | */ 15 | let AnnotationTool; 16 | -------------------------------------------------------------------------------- /vendor/cr_elements/chromeos/cr_lottie/cr_lottie.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /vendor/images/supervisor_account.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /elements/viewer-error-screen.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
[[strings.errorDialogTitle]]
4 |
[[strings.pageLoadFailed]]
5 |
6 | 7 | [[strings.pageReload]] 8 | 9 |
10 |
11 | -------------------------------------------------------------------------------- /elements/icons.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 | 5 | import 'chrome://resources/polymer/v3_0/iron-iconset-svg/iron-iconset-svg.js'; 6 | 7 | import {html, Polymer} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; 8 | 9 | const template = html`{__html_template__}`; 10 | document.head.appendChild(template.content); 11 | -------------------------------------------------------------------------------- /vendor/cr_elements/chromeos/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2019 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | 7 | assert(is_chromeos, "Only ChromeOS components belong here.") 8 | 9 | group("closure_compile") { 10 | deps = [ 11 | "cr_lottie:closure_compile", 12 | "cr_picture:closure_compile", 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /vendor/images/backspace.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/css/spinner.css: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2012 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 | 5 | .inline-spinner, 6 | .spinner { 7 | background-image: url(../images/throbber_small.svg); 8 | background-size: 100%; 9 | } 10 | 11 | .inline-spinner { 12 | display: inline-block; 13 | height: 16px; 14 | width: 16px; 15 | } 16 | 17 | .spinner { 18 | height: 22px; 19 | width: 22px; 20 | } 21 | -------------------------------------------------------------------------------- /vendor/images/hazard.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ink/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2019 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | 7 | js_type_check("closure_compile") { 8 | deps = [ ":ink_api" ] 9 | } 10 | 11 | js_library("ink_api") { 12 | deps = [ "..:annotation_tool" ] 13 | externs_list = [ 14 | "//third_party/ink/build/ink_lib_externs.js", 15 | "$externs_path/pending.js", 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_splitter/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | 7 | js_type_check("closure_compile") { 8 | is_polymer3 = true 9 | deps = [ ":cr_splitter" ] 10 | } 11 | 12 | js_library("cr_splitter") { 13 | deps = [ 14 | "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /vendor/css/bubble_button.css: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2013 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 | 5 | .bubble-button { 6 | display: inline-block; 7 | height: 0; 8 | line-height: 1; 9 | margin-inline-start: 4px; 10 | vertical-align: middle; 11 | width: 16px; 12 | } 13 | 14 | .bubble-button > div { 15 | background-size: 16px; 16 | height: 16px; 17 | position: relative; 18 | top: -9px; 19 | width: 16px; 20 | } 21 | -------------------------------------------------------------------------------- /vendor/images/icon_themes.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /elements/shared-vars.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 | 5 | import 'chrome://resources/polymer/v3_0/paper-styles/color.js'; 6 | 7 | import {html, Polymer} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; 8 | 9 | const $_documentContainer = document.createElement('template'); 10 | $_documentContainer.innerHTML = `{__html_template__}`; 11 | document.head.appendChild($_documentContainer.content); 12 | -------------------------------------------------------------------------------- /vendor/cr_elements/hidden_style_css.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 16 | 17 | -------------------------------------------------------------------------------- /vendor/js/dom_automation_controller.js: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 | 5 | /** 6 | * @fileoverview Extern for window.domAutomationController which is used in 7 | * browsertests. 8 | */ 9 | 10 | /** @constructor */ 11 | function DomAutomationController() {} 12 | 13 | /** @param {*} jsonObj */ 14 | DomAutomationController.prototype.send = function(jsonObj) {}; 15 | 16 | /** @type {DomAutomationController} */ 17 | window.domAutomationController; 18 | -------------------------------------------------------------------------------- /vendor/images/icon_visibility_off.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/account_child_invert.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /vendor/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | 7 | group("closure_compile") { 8 | deps = [ 9 | "cr_components:closure_compile", 10 | "cr_elements:closure_compile", 11 | "js:closure_compile", 12 | "js:closure_compile_modules", 13 | ] 14 | } 15 | 16 | group("modulize") { 17 | deps = [ 18 | "cr_components:polymer3_elements", 19 | "cr_elements:polymer3_elements", 20 | "js:modulize", 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /elements/viewer-form-warning.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
[[strings.annotationFormWarningTitle]]
4 |
[[strings.annotationFormWarningDetail]]
5 |
6 | 7 | [[strings.annotationFormWarningKeepEditing]] 8 | 9 | 10 | [[strings.annotationFormWarningDiscard]] 11 | 12 |
13 |
14 | -------------------------------------------------------------------------------- /vendor/js/polymer_config.js: -------------------------------------------------------------------------------- 1 | // Copyright 2015 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 | 5 | if (typeof Polymer === 'undefined') { 6 | Polymer = { 7 | dom: 'shadow', 8 | lazyRegister: true, 9 | legacyOptimizations: true, 10 | preserveStyleIncludes: true, // Only matters when using polymer-css-build. 11 | suppressBindingNotifications: true, 12 | suppressTemplateNotifications: true, 13 | useNativeCSSProperties: true, 14 | }; 15 | } else { 16 | console.error('Polymer is already defined.'); 17 | } 18 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/cellular_setup/base_page.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 | 5 | /** Base template with elements common to all Cellular Setup flow sub-pages. */ 6 | Polymer({ 7 | is: 'base-page', 8 | 9 | properties: { 10 | /** 11 | * Main title for the page. 12 | * 13 | * @type {string} 14 | */ 15 | title: String, 16 | 17 | /** 18 | * Message displayed under the main title. 19 | * 20 | * @type {string} 21 | */ 22 | message: String, 23 | }, 24 | }); 25 | -------------------------------------------------------------------------------- /vendor/cr_elements/policy/cr_tooltip_icon.js: -------------------------------------------------------------------------------- 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 | 5 | Polymer({ 6 | is: 'cr-tooltip-icon', 7 | 8 | properties: { 9 | iconAriaLabel: String, 10 | 11 | iconClass: String, 12 | 13 | tooltipText: String, 14 | 15 | /** Position of tooltip popup related to the icon. */ 16 | tooltipPosition: { 17 | type: String, 18 | value: 'top', 19 | } 20 | }, 21 | 22 | /** @return {!Element} */ 23 | getFocusableElement() { 24 | return this.$.indicator; 25 | }, 26 | }); -------------------------------------------------------------------------------- /vendor/images/icon_passwords.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/hidekeyboard.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_components/README.md: -------------------------------------------------------------------------------- 1 | This directory contains complex Polymer web components for Web UI. They may be 2 | shared between Settings, login, stand alone dialogs, etc. 3 | 4 | These components are allowed to use I18nBehavior. The Web UI hosting these 5 | components is expected to provide loadTimeData with any necessary strings. 6 | TODO(stevenjb/dschuyler): Add support for i18n{} substitution. 7 | 8 | These components may also use chrome and extension APIs, e.g. chrome.send 9 | (through a browser proxy) or chrome.settingsPrivate. The C++ code hosting the 10 | component is expected to handle these calls. 11 | 12 | For simpler components with no I18n or chrome dependencies, see cr_elements. 13 | -------------------------------------------------------------------------------- /vendor/cr_elements/policy/cr_policy_indicator.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /vendor/css/i18n_process.css: -------------------------------------------------------------------------------- 1 | /* Copyright 2015 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 | 5 | [i18n-content]::before, 6 | [i18n-values*='.innerHTML:']::before { 7 | /* Insert a non-breaking space into nodes that have i18n content. */ 8 | content: '\00a0'; 9 | } 10 | 11 | [i18n-processed][i18n-content]::before, 12 | [i18n-processed] [i18n-content]::before, 13 | [i18n-processed][i18n-values*='.innerHTML:']::before, 14 | [i18n-processed] [i18n-values*='.innerHTML:']::before { 15 | /* Undo the non-breaking space hack after i18n processing has run. */ 16 | content: normal; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/network_config_toggle.js: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 | 5 | /** 6 | * @fileoverview Polymer element for network configuration toggle. 7 | */ 8 | Polymer({ 9 | is: 'network-config-toggle', 10 | 11 | behaviors: [ 12 | CrPolicyNetworkBehaviorMojo, 13 | NetworkConfigElementBehavior, 14 | ], 15 | 16 | properties: { 17 | label: String, 18 | 19 | checked: { 20 | type: Boolean, 21 | value: false, 22 | reflectToAttribute: true, 23 | notify: true, 24 | }, 25 | }, 26 | }); 27 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_view_manager/cr_view_manager.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /vendor/cr_elements/README.md: -------------------------------------------------------------------------------- 1 | This directory contains simple Polymer web components for Web UI. These 2 | components may be shared across any WebUI and should be compatible across 3 | all platforms (including ios). 4 | 5 | These web components may not contain any i18n dependencies and may not use 6 | I18nBehavior. Instead, any text (labels, tooltips, etc) should be passed as 7 | properties. 8 | 9 | These web components should avoid the use of chrome.send and should generally 10 | avoid dependencies on extension APIs as well. 11 | 12 | TODO(dpapad): Audit elements currently using chrome.settingsPrivate and decide whether to move these or update the 13 | guidelines. 14 | 15 | For more complex components, see cr_components. 16 | -------------------------------------------------------------------------------- /vendor/cr_elements/policy/cr_policy_pref_indicator.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /vendor/css/action_link.css: -------------------------------------------------------------------------------- 1 | /* Copyright 2015 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 | 5 | [is='action-link'] { 6 | cursor: pointer; 7 | display: inline-block; 8 | text-decoration: none; 9 | } 10 | 11 | [is='action-link']:hover { 12 | text-decoration: underline; 13 | } 14 | 15 | [is='action-link']:active { 16 | color: rgb(5, 37, 119); 17 | text-decoration: underline; 18 | } 19 | 20 | [is='action-link'][disabled] { 21 | color: #999; 22 | cursor: default; 23 | pointer-events: none; 24 | text-decoration: none; 25 | } 26 | 27 | [is='action-link'].no-outline { 28 | outline: none; 29 | } 30 | -------------------------------------------------------------------------------- /vendor/js/ios/web_ui.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 | 5 | window['chrome'] = window['chrome'] || {}; 6 | 7 | /** 8 | * Sends messages to the browser. See 9 | * https://chromium.googlesource.com/chromium/src/+/master/docs/webui_explainer.md#chrome_send 10 | * 11 | * @param {string} message name to be passed to the browser. 12 | * @param {Array=} args optional. 13 | */ 14 | window['chrome']['send'] = function(message, args) { 15 | __gCrWeb.message.invokeOnHost({ 16 | 'command': 'webui.chromeSend', 17 | 'message': message, 18 | 'arguments': args || [] 19 | }); 20 | }; 21 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/wifi_0_with_x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /vendor/js/jstemplate_compiled.js: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012 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 | 5 | // This file serves as a proxy to bring the included js file from /third_party 6 | // into its correct location under the resources directory tree, whence it is 7 | // delivered via a chrome://resources URL. See ../webui_resources.grd. 8 | 9 | // Note: this is not behind a single-line comment because the first 10 | // line of the file is source code (so the first line would be skipped) instead 11 | // of a licence header. 12 | // clang-format off 13 | 14 | -------------------------------------------------------------------------------- /vendor/images/eol.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/icon_settings.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/icon_settings_white.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_components/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | 7 | group("closure_compile") { 8 | deps = [ 9 | "certificate_manager:closure_compile", 10 | "managed_footnote:closure_compile", 11 | "managed_footnote:closure_compile_module", 12 | ] 13 | 14 | if (is_chromeos) { 15 | deps += [ "chromeos:closure_compile" ] 16 | } 17 | } 18 | 19 | group("polymer3_elements") { 20 | deps = [ 21 | "certificate_manager:polymer3_elements", 22 | "managed_footnote:managed_footnote_module", 23 | ] 24 | if (is_chromeos) { 25 | deps += [ "chromeos:polymer3_elements" ] 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/images/settings.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/network_list_types.js: -------------------------------------------------------------------------------- 1 | // Copyright 2016 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 | 5 | /** 6 | * @fileoverview 7 | * This file contains typedefs properties for NetworkList, shared by 8 | * NetworkListItem. 9 | */ 10 | 11 | const NetworkList = {}; 12 | 13 | /** 14 | * Custom data for implementation specific network list items. 15 | * @typedef {{ 16 | * customItemName: string, 17 | * polymerIcon: (string|undefined), 18 | * customData: (!Object|undefined), 19 | * showBeforeNetworksList: boolean, 20 | * }} 21 | */ 22 | NetworkList.CustomItemState; 23 | 24 | /** @typedef {OncMojo.NetworkStateProperties|NetworkList.CustomItemState} */ 25 | NetworkList.NetworkListItemType; 26 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_page_host_style_css.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 11 | 12 | 22 | 23 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/ui_page.js: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 | 5 | /** 6 | * An element that encapsulates the structure common to all pages in the WebUI. 7 | */ 8 | Polymer({ 9 | is: 'ui-page', 10 | 11 | properties: { 12 | /** 13 | * Main heading for the page. 14 | * 15 | * @type {string} 16 | */ 17 | headerText: String, 18 | 19 | /** 20 | * Name of icon within icon set. 21 | * 22 | * @type {string} 23 | */ 24 | iconName: String, 25 | }, 26 | 27 | /** 28 | * @return {string} 29 | * @private 30 | */ 31 | computeIconIdentifier_() { 32 | return 'multidevice-setup-icons-32:' + this.iconName; 33 | }, 34 | }); 35 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /vendor/images/vr_back.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/css/butter_bar.css: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2012 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 | 5 | /* A butter bar is an non-modal notification, usually yellow, that appears at 6 | * the top of the screen. Generally, they should contain a single line of text, 7 | * and one or two links at the end of the text. Example: 8 | *
You deleted something. Undo
9 | */ 10 | 11 | .butter-bar { 12 | background-color: rgb(249, 237, 190); 13 | border: 1px solid rgb(240, 195, 109); 14 | border-radius: 2px; 15 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 16 | display: inline-block; 17 | padding: 8px 10px; 18 | text-align: center; 19 | } 20 | 21 | .butter-bar a { 22 | margin-left: 0.45em; 23 | text-decoration: underline; 24 | } 25 | -------------------------------------------------------------------------------- /elements/viewer-password-screen.html: -------------------------------------------------------------------------------- 1 | 6 | 7 |
[[strings.passwordDialogTitle]]
8 |
9 |
[[strings.passwordPrompt]]
10 | 16 | 17 |
18 |
19 | 20 | [[strings.passwordSubmit]] 21 | 22 |
23 |
24 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/cellular_setup/base_page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /elements/viewer-error-screen.js: -------------------------------------------------------------------------------- 1 | // Copyright 2014 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 | 5 | import 'chrome://resources/cr_elements/cr_button/cr_button.m.js'; 6 | import 'chrome://resources/cr_elements/cr_dialog/cr_dialog.m.js'; 7 | import 'chrome://resources/cr_elements/hidden_style_css.m.js'; 8 | 9 | import {html, Polymer} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; 10 | 11 | Polymer({ 12 | is: 'viewer-error-screen', 13 | 14 | _template: html`{__html_template__}`, 15 | 16 | properties: { 17 | reloadFn: Function, 18 | 19 | strings: Object, 20 | }, 21 | 22 | show() { 23 | /** @type {!CrDialogElement} */ (this.$.dialog).showModal(); 24 | }, 25 | 26 | reload() { 27 | if (this.reloadFn) { 28 | this.reloadFn(); 29 | } 30 | } 31 | }); 32 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_search_field/cr_search_field.js: -------------------------------------------------------------------------------- 1 | // Copyright 2016 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 | 5 | /** 6 | * @fileoverview 7 | * 'cr-search-field' is a simple implementation of a polymer component that 8 | * uses CrSearchFieldBehavior. 9 | */ 10 | 11 | Polymer({ 12 | is: 'cr-search-field', 13 | 14 | behaviors: [CrSearchFieldBehavior], 15 | 16 | properties: { 17 | autofocus: { 18 | type: Boolean, 19 | value: false, 20 | }, 21 | }, 22 | 23 | /** @return {!CrInputElement} */ 24 | getSearchInput() { 25 | return /** @type {!CrInputElement} */ (this.$.searchInput); 26 | }, 27 | 28 | /** @private */ 29 | onTapClear_() { 30 | this.setValue(''); 31 | setTimeout(() => { 32 | this.$.searchInput.focus(); 33 | }); 34 | }, 35 | }); 36 | -------------------------------------------------------------------------------- /vendor/cr_elements/chromeos/cr_picture/cr_picture_types.js: -------------------------------------------------------------------------------- 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 | 5 | const CrPicture = {}; 6 | 7 | /** 8 | * Contains the possible types for picture list image elements. 9 | * @enum {string} 10 | */ 11 | CrPicture.SelectionTypes = { 12 | CAMERA: 'camera', 13 | FILE: 'file', 14 | PROFILE: 'profile', 15 | OLD: 'old', 16 | DEFAULT: 'default', 17 | NONE: '', 18 | }; 19 | 20 | /** 21 | * An picture list image element. 22 | * @typedef {{ 23 | * dataset: { 24 | * type: !CrPicture.SelectionTypes, 25 | * index: (number|undefined), 26 | * imageIndex: (number|undefined), 27 | * }, 28 | * src: string, 29 | * }} 30 | */ 31 | CrPicture.ImageElement; 32 | 33 | CrPicture.kDefaultImageUrl = 'chrome://theme/IDR_LOGIN_DEFAULT_USER'; 34 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_radio_group/cr_radio_group.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /vendor/images/vr_overflow.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_elements/chromeos/cr_picture/icons.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /vendor/js/cr/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("../../tools/js_modulizer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ 10 | ":event_target", 11 | ":ui", 12 | ] 13 | } 14 | 15 | js_type_check("closure_compile_modules") { 16 | uses_js_modules = true 17 | deps = [ ":event_target.m" ] 18 | } 19 | 20 | js_library("event_target") { 21 | deps = [ "..:cr" ] 22 | } 23 | 24 | js_library("ui") { 25 | deps = [ "..:cr" ] 26 | } 27 | 28 | js_library("event_target.m") { 29 | sources = [ "$root_gen_dir/ui/webui/resources/js/cr/event_target.m.js" ] 30 | extra_deps = [ ":modulize" ] 31 | } 32 | 33 | js_modulizer("modulize") { 34 | input_files = [ "event_target.js" ] 35 | deps = [ "ui:modulize" ] 36 | } 37 | -------------------------------------------------------------------------------- /vendor/js/cr/event_target.js: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2010 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 | 5 | /** 6 | * @fileoverview Work-around for 7 | * https://github.com/google/closure-compiler/issues/3143, such that WebUI code 8 | * can use the native EventTarget class. 9 | * TODO(dpapad): Remove this entire file if/when that issue is fixed. 10 | */ 11 | 12 | cr.define('cr', function() { 13 | /** 14 | * @constructor 15 | * @implements {EventTarget} 16 | */ 17 | /* #export */ const NativeEventTarget = self['EventTarget']; 18 | 19 | /** @override */ NativeEventTarget.prototype.addEventListener; 20 | /** @override */ NativeEventTarget.prototype.dispatchEvent; 21 | /** @override */ NativeEventTarget.prototype.removeEventListener; 22 | 23 | // #cr_define_end 24 | return {EventTarget: NativeEventTarget}; 25 | }); 26 | -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | // chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai 3 | "manifest_version": 2, 4 | "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDN6hM0rsDYGbzQPQfOygqlRtQgKUXMfnSjhIBL7LnReAVBEd7ZmKtyN2qmSasMl4HZpMhVe2rPWVVwBDl6iyNE/Kok6E6v6V3vCLGsOpQAuuNVye/3QxzIldzG/jQAdWZiyXReRVapOhZtLjGfywCvlWq7Sl/e3sbc0vWybSDI2QIDAQAB", 5 | "name": "", 6 | "version": "1", 7 | "description": "", 8 | "offline_enabled": true, 9 | "incognito": "split", 10 | "permissions": [ 11 | "chrome://resources/", 12 | "contentSettings", 13 | "metricsPrivate", 14 | "resourcesPrivate", 15 | {"fileSystem": ["write"]} 16 | ], 17 | "mime_types": [ 18 | "application/pdf" 19 | ], 20 | "content_security_policy": "script-src 'self' 'wasm-eval' blob: filesystem: chrome://resources; object-src * blob: externalfile: file: filesystem: data:; plugin-types application/x-google-chrome-pdf", 21 | "mime_types_handler": "index.html" 22 | } 23 | -------------------------------------------------------------------------------- /vendor/css/md_colors.css: -------------------------------------------------------------------------------- 1 | /* Copyright 2016 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 | 5 | html { 6 | /* This is a custom, Chrome-specific color that does not have a --paper or 7 | * --google equivalent. */ 8 | --md-background-color: rgb(248, 249, 250); 9 | --md-loading-message-color: #6e6e6e; 10 | /* --google-blue-700, rewritten as a native custom property for speed. */ 11 | --md-toolbar-color: rgb(51, 103, 214); 12 | --md-toolbar-height: 56px; 13 | } 14 | 15 | @media (prefers-color-scheme: dark) { 16 | html { 17 | --md-background-color: rgb(32, 33, 36); /* --google-grey-900 */ 18 | --md-loading-message-color: #9AA0A6; /* --google-grey-refresh-500 */ 19 | /* --cr-separator-line */ 20 | --md-toolbar-border: 1px solid rgba(255, 255, 255, .1); 21 | --md-toolbar-color: rgba(255, 255, 255, .04); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_tabs/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2019 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("//tools/polymer/polymer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ ":cr_tabs" ] 10 | } 11 | 12 | js_library("cr_tabs") { 13 | } 14 | 15 | polymer_modulizer("cr_tabs") { 16 | js_file = "cr_tabs.js" 17 | html_file = "cr_tabs.html" 18 | html_type = "dom-module" 19 | } 20 | 21 | js_type_check("closure_compile_module") { 22 | is_polymer3 = true 23 | deps = [ ":cr_tabs.m" ] 24 | } 25 | 26 | js_library("cr_tabs.m") { 27 | sources = 28 | [ "$root_gen_dir/ui/webui/resources/cr_elements/cr_tabs/cr_tabs.m.js" ] 29 | deps = [ 30 | "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", 31 | ] 32 | extra_deps = [ ":cr_tabs_module" ] 33 | } 34 | -------------------------------------------------------------------------------- /vendor/css/roboto.css: -------------------------------------------------------------------------------- 1 | /* Copyright 2015 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 | 5 | 6 | @font-face { 7 | font-family: 'Roboto'; 8 | font-style: normal; 9 | font-weight: 400; 10 | src: local('Roboto'), local('Roboto-Regular'), 11 | url(chrome://resources/roboto/roboto-regular.woff2) format('woff2'); 12 | } 13 | 14 | @font-face { 15 | font-family: 'Roboto'; 16 | font-style: normal; 17 | font-weight: 500; 18 | src: local('Roboto Medium'), local('Roboto-Medium'), 19 | url(chrome://resources/roboto/roboto-medium.woff2) format('woff2'); 20 | } 21 | 22 | @font-face { 23 | font-family: 'Roboto'; 24 | font-style: normal; 25 | font-weight: 700; 26 | src: local('Roboto Bold'), local('Roboto-Bold'), 27 | url(chrome://resources/roboto/roboto-bold.woff2) format('woff2'); 28 | } 29 | 30 | -------------------------------------------------------------------------------- /vendor/images/throbber_medium.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_components/certificate_manager/certificate_shared_css.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 35 | 36 | -------------------------------------------------------------------------------- /vendor/images/incognito_splash.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/images/throbber_small.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_link_row/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("//tools/polymer/polymer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ ":cr_link_row" ] 10 | } 11 | 12 | js_library("cr_link_row") { 13 | deps = [ "../cr_icon_button:cr_icon_button" ] 14 | } 15 | 16 | polymer_modulizer("cr_link_row") { 17 | js_file = "cr_link_row.js" 18 | html_file = "cr_link_row.html" 19 | html_type = "dom-module" 20 | } 21 | 22 | js_type_check("closure_compile_module") { 23 | is_polymer3 = true 24 | deps = [ ":cr_link_row.m" ] 25 | } 26 | 27 | js_library("cr_link_row.m") { 28 | sources = [ 29 | "$root_gen_dir/ui/webui/resources/cr_elements/cr_link_row/cr_link_row.m.js", 30 | ] 31 | deps = [ "../cr_icon_button:cr_icon_button.m" ] 32 | extra_deps = [ ":cr_link_row_module" ] 33 | } 34 | -------------------------------------------------------------------------------- /vendor/images/vr_reload.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/cr_elements/action_link_css.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 33 | 34 | -------------------------------------------------------------------------------- /vendor/cr_components/certificate_manager/certificate_entry.js: -------------------------------------------------------------------------------- 1 | // Copyright 2016 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 | 5 | /** 6 | * @fileoverview An element that represents an SSL certificate entry. 7 | */ 8 | Polymer({ 9 | is: 'certificate-entry', 10 | 11 | behaviors: [I18nBehavior], 12 | 13 | properties: { 14 | /** @type {!CertificatesOrgGroup} */ 15 | model: Object, 16 | 17 | /** @type {!CertificateType} */ 18 | certificateType: String, 19 | }, 20 | 21 | /** 22 | * @param {number} index 23 | * @return {boolean} Whether the given index corresponds to the last sub-node. 24 | * @private 25 | */ 26 | isLast_(index) { 27 | return index === this.model.subnodes.length - 1; 28 | }, 29 | 30 | getPolicyIndicatorType_() { 31 | return this.model.containsPolicyCerts ? CrPolicyIndicatorType.USER_POLICY : 32 | CrPolicyIndicatorType.NONE; 33 | }, 34 | }); 35 | -------------------------------------------------------------------------------- /vendor/cr_elements/chromeos/cr_picture/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | 7 | js_type_check("closure_compile") { 8 | deps = [ 9 | ":cr_camera", 10 | ":cr_picture_list", 11 | ":cr_picture_pane", 12 | ":cr_picture_types", 13 | ":cr_png_behavior", 14 | ] 15 | } 16 | 17 | js_library("cr_camera") { 18 | deps = [ ":cr_png_behavior" ] 19 | } 20 | 21 | js_library("cr_picture_list") { 22 | deps = [ 23 | ":cr_picture_types", 24 | ":cr_png_behavior", 25 | "//third_party/polymer/v1_0/components-chromium/iron-selector:iron-selector-extracted", 26 | "//ui/webui/resources/js:assert", 27 | ] 28 | } 29 | 30 | js_library("cr_picture_pane") { 31 | deps = [ 32 | ":cr_camera", 33 | ":cr_picture_types", 34 | ":cr_png_behavior", 35 | ] 36 | } 37 | 38 | js_library("cr_picture_types") { 39 | } 40 | 41 | js_library("cr_png_behavior") { 42 | } 43 | -------------------------------------------------------------------------------- /vendor/cr_elements/policy/cr_policy_indicator.js: -------------------------------------------------------------------------------- 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 | 5 | /** @fileoverview Polymer element for indicating policies by type. */ 6 | Polymer({ 7 | is: 'cr-policy-indicator', 8 | 9 | behaviors: [CrPolicyIndicatorBehavior], 10 | 11 | properties: { 12 | iconAriaLabel: String, 13 | 14 | /** @private {string} */ 15 | indicatorTooltip_: { 16 | type: String, 17 | computed: 'getIndicatorTooltip_(indicatorType, indicatorSourceName)', 18 | }, 19 | }, 20 | 21 | /** 22 | * @param {!CrPolicyIndicatorType} indicatorType 23 | * @param {string} indicatorSourceName The name associated with the indicator. 24 | * See chrome.settingsPrivate.PrefObject.controlledByName 25 | * @return {string} The tooltip text for |type|. 26 | */ 27 | getIndicatorTooltip_(indicatorType, indicatorSourceName) { 28 | return this.getIndicatorTooltip(indicatorType, indicatorSourceName); 29 | }, 30 | }); 31 | -------------------------------------------------------------------------------- /elements/viewer-page-indicator.html: -------------------------------------------------------------------------------- 1 | 37 |
{{label}}
38 |
39 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/network_config_element_behavior.js: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 | 5 | /** 6 | * @fileoverview Behavior for network config elements. 7 | */ 8 | 9 | /** @polymerBehavior */ 10 | const NetworkConfigElementBehavior = { 11 | properties: { 12 | disabled: { 13 | type: Boolean, 14 | value: false, 15 | reflectToAttribute: true, 16 | }, 17 | 18 | /** 19 | * Network managed property associated with the config element. 20 | * @type {?OncMojo.ManagedProperty} 21 | */ 22 | property: { 23 | type: Object, 24 | value: null, 25 | }, 26 | }, 27 | 28 | /** 29 | * @param {boolean} disabled 30 | * @param {?OncMojo.ManagedProperty} property 31 | * @return {boolean} True if the element should be disabled. 32 | * @private 33 | */ 34 | getDisabled_(disabled, property) { 35 | return disabled || (!!property && this.isNetworkPolicyEnforced(property)); 36 | }, 37 | }; 38 | -------------------------------------------------------------------------------- /vendor/css/text_defaults.css: -------------------------------------------------------------------------------- 1 | /* Copyright 2014 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 | 5 | /* This file is dynamically processed by a C++ data source handler to fill in 6 | * some per-platform/locale styles that dramatically alter the page. This is 7 | * done to reduce flicker, as JS may not run before the page is rendered. 8 | * 9 | * There are two ways to include this stylesheet: 10 | * 1. via its chrome://resources/ URL in HTML, i.e.: 11 | * 12 | * 13 | * 14 | * 2. via the webui::AppendWebUICSSTextDefaults() method to directly append it 15 | * to an HTML string. 16 | * Otherwise its placeholders won't be expanded. */ 17 | 18 | html { 19 | /* TODO(dbeam): remove this soon. Prefer dir= in HTML. */ 20 | direction: $i18n{textDirection}; 21 | } 22 | 23 | body { 24 | font-family: $i18nRaw{fontFamily}; 25 | font-size: $i18n{fontSize}; 26 | } 27 | 28 | button { 29 | font-family: $i18nRaw{fontFamily}; 30 | } 31 | -------------------------------------------------------------------------------- /vendor/js/test_loader.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 | 5 | // @fileoverview Helper script used to load a JS module test into a WebUI page. 6 | // 7 | // Example usage: 8 | // chrome://welcome/test_loader.html?module=my_test.js 9 | // 10 | // will load the JS module at chrome/test/data/webui/my_test.js 11 | // 12 | // test_loader.html and test_loader.js should be registered with the 13 | // WebUIDataSource corresponding to the WebUI being tested, such that the 14 | // testing code is loaded from the same origin. Also note that the 15 | // chrome://test/ data source only exists in a testing context, so using this 16 | // script in production will result in a failed network request. 17 | 18 | (function() { 19 | const params = new URLSearchParams(window.location.search); 20 | const module = params.get('module'); 21 | const script = document.createElement('script'); 22 | script.type = 'module'; 23 | script.src = `chrome://test/${module}`; 24 | document.body.appendChild(script); 25 | })(); 26 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/cellular_setup/final_page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/network_config_input.js: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 | 5 | /** 6 | * @fileoverview Polymer element for network configuration input fields. 7 | */ 8 | Polymer({ 9 | is: 'network-config-input', 10 | 11 | behaviors: [ 12 | CrPolicyNetworkBehaviorMojo, 13 | NetworkConfigElementBehavior, 14 | ], 15 | 16 | properties: { 17 | label: String, 18 | 19 | hidden: { 20 | type: Boolean, 21 | reflectToAttribute: true, 22 | }, 23 | 24 | readonly: { 25 | type: Boolean, 26 | reflectToAttribute: true, 27 | }, 28 | 29 | value: { 30 | type: String, 31 | notify: true, 32 | }, 33 | }, 34 | 35 | focus() { 36 | this.$$('cr-input').focus(); 37 | }, 38 | 39 | /** 40 | * @param {!Event} event 41 | * @private 42 | */ 43 | onKeypress_(event) { 44 | if (event.key !== 'Enter') { 45 | return; 46 | } 47 | event.stopPropagation(); 48 | this.fire('enter'); 49 | }, 50 | }); 51 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_fingerprint/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("//tools/polymer/polymer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ ":cr_fingerprint_progress_arc" ] 10 | } 11 | 12 | js_library("cr_fingerprint_progress_arc") { 13 | } 14 | 15 | polymer_modulizer("cr_fingerprint_progress_arc") { 16 | js_file = "cr_fingerprint_progress_arc.js" 17 | html_file = "cr_fingerprint_progress_arc.html" 18 | html_type = "dom-module" 19 | } 20 | 21 | js_type_check("closure_compile_module") { 22 | is_polymer3 = true 23 | deps = [ ":cr_fingerprint_progress_arc.m" ] 24 | } 25 | 26 | js_library("cr_fingerprint_progress_arc.m") { 27 | sources = [ "$root_gen_dir/ui/webui/resources/cr_elements/cr_fingerprint/cr_fingerprint_progress_arc.m.js" ] 28 | deps = [ 29 | "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", 30 | ] 31 | extra_deps = [ ":cr_fingerprint_progress_arc_module" ] 32 | } 33 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_toast/cr_toast_manager.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /vendor/cr_elements/policy/cr_policy_network_indicator_mojo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /vendor/js/crisper_loader.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 | 5 | /** 6 | * @fileoverview 7 | * Unlike when using native HTML Imports, the HTML Imports polyfill does not 8 | * block execution of a script until all files have been imported, resulting in 9 | * errors if the script references functions (e.g. Polymer()) from files that 10 | * have not been imported yet. crisper_loader.js is used as a replacement for 11 | * the main script in optimized Web UI pages that are set to use the polyfill 12 | * instead of native imports, and is responsible for replacing itself with the 13 | * main JS file after the polyfill is ready. 14 | */ 15 | 16 | (function() { 17 | const thisScript = document.currentScript; 18 | const scriptName = thisScript.dataset.scriptName; 19 | const parentEl = thisScript.parentElement; 20 | const script = document.createElement('script'); 21 | script.setAttribute('src', scriptName); 22 | HTMLImports.whenReady(() => { 23 | parentEl.appendChild(script); 24 | thisScript.remove(); 25 | }); 26 | })(); 27 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_expand_button/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("//tools/polymer/polymer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ ":cr_expand_button" ] 10 | } 11 | 12 | js_library("cr_expand_button") { 13 | deps = [ "//ui/webui/resources/js/cr/ui:focus_without_ink" ] 14 | } 15 | 16 | polymer_modulizer("cr_expand_button") { 17 | js_file = "cr_expand_button.js" 18 | html_file = "cr_expand_button.html" 19 | html_type = "dom-module" 20 | } 21 | 22 | js_type_check("closure_compile_module") { 23 | is_polymer3 = true 24 | deps = [ ":cr_expand_button.m" ] 25 | } 26 | 27 | js_library("cr_expand_button.m") { 28 | sources = [ "$root_gen_dir/ui/webui/resources/cr_elements/cr_expand_button/cr_expand_button.m.js" ] 29 | deps = [ 30 | "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", 31 | "//ui/webui/resources/js/cr/ui:focus_without_ink.m", 32 | ] 33 | extra_deps = [ ":cr_expand_button_module" ] 34 | } 35 | -------------------------------------------------------------------------------- /vendor/css/menu_button.css: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2012 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 | 5 | /* NOTE: If you are using the drop-down style, you must first call 6 | * MenuButton.createDropDownArrows() to initialize the CSS canvases that 7 | * contain the arrow images. */ 8 | 9 | button.menu-button.drop-down { 10 | background: white url(../images/drop_down_arrow_gray.svg) no-repeat center 4px; 11 | border: 1px solid rgb(192, 195, 198); 12 | border-radius: 2px; 13 | height: 12px; 14 | margin: 0 5px; 15 | padding: 0; 16 | position: relative; 17 | top: 1px; 18 | width: 12px; 19 | } 20 | 21 | button.menu-button.drop-down:hover { 22 | background-image: url(../images/drop_down_arrow_black.svg); 23 | border-color: rgb(48, 57, 66); 24 | } 25 | 26 | button.menu-button.drop-down[menu-shown], 27 | button.menu-button.drop-down:focus { 28 | background-color: rgb(48, 57, 66); 29 | background-image: url(../images/drop_down_arrow_white.svg); 30 | border-color: rgb(48, 57, 66); 31 | } 32 | 33 | button.menu-button.using-mouse { 34 | outline: none; 35 | } 36 | -------------------------------------------------------------------------------- /vendor/css/text_defaults_md.css: -------------------------------------------------------------------------------- 1 | /* Copyright 2015 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 | 5 | /* This file is dynamically processed by a C++ data source handler to fill in 6 | * some per-platform/locale styles that dramatically alter the page. This is 7 | * done to reduce flicker, as JS may not run before the page is rendered. 8 | * 9 | * There are two ways to include this stylesheet: 10 | * 1. via its chrome://resources/ URL in HTML, i.e.: 11 | * 12 | * 13 | * 14 | * 2. via the webui::AppendWebUICSSTextDefaultsMd() method to directly append it 15 | * to an HTML string. 16 | * Otherwise its placeholders won't be expanded. */ 17 | 18 | @import url(chrome://resources/css/roboto.css); 19 | 20 | html { 21 | /* TODO(dbeam): remove this soon. Prefer dir= in HTML. */ 22 | direction: $i18n{textDirection}; 23 | } 24 | 25 | body { 26 | font-family: Roboto, $i18nRaw{fontFamily}; 27 | font-size: 81.25%; 28 | } 29 | 30 | button { 31 | font-family: Roboto, $i18nRaw{fontFamily}; 32 | } 33 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/multidevice_setup_delegate.js: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 | 5 | cr.define('multidevice_setup', function() { 6 | /** 7 | * Interface which provides the ability to set the host device and perform 8 | * related logic. 9 | * @interface 10 | */ 11 | class MultiDeviceSetupDelegate { 12 | /** @return {boolean} */ 13 | isPasswordRequiredToSetHost() {} 14 | 15 | /** 16 | * @param {string} hostDeviceId The ID of the host to set. 17 | * @param {string=} opt_authToken An auth token to authenticate the request; 18 | * only necessary if isPasswordRequiredToSetHost() returns true. 19 | * @return {!Promise<{success: boolean}>} 20 | */ 21 | setHostDevice(hostDeviceId, opt_authToken) {} 22 | 23 | /** @return {boolean} */ 24 | shouldExitSetupFlowAfterSettingHost() {} 25 | 26 | /** @return {string} */ 27 | getStartSetupCancelButtonTextId() {} 28 | } 29 | 30 | return { 31 | MultiDeviceSetupDelegate: MultiDeviceSetupDelegate, 32 | }; 33 | }); 34 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_toggle/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("//tools/polymer/polymer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ ":cr_toggle" ] 10 | } 11 | 12 | js_library("cr_toggle") { 13 | deps = [ "//third_party/polymer/v1_0/components-chromium/paper-behaviors:paper-ripple-behavior-extracted" ] 14 | } 15 | 16 | polymer_modulizer("cr_toggle") { 17 | js_file = "cr_toggle.js" 18 | html_file = "cr_toggle.html" 19 | html_type = "dom-module" 20 | } 21 | 22 | js_type_check("closure_compile_module") { 23 | is_polymer3 = true 24 | deps = [ ":cr_toggle.m" ] 25 | } 26 | 27 | js_library("cr_toggle.m") { 28 | sources = [ 29 | "$root_gen_dir/ui/webui/resources/cr_elements/cr_toggle/cr_toggle.m.js", 30 | ] 31 | deps = [ 32 | "//third_party/polymer/v3_0/components-chromium/paper-behaviors:paper-ripple-behavior", 33 | "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", 34 | ] 35 | extra_deps = [ ":cr_toggle_module" ] 36 | } 37 | -------------------------------------------------------------------------------- /vendor/cr_components/certificate_manager/certificates_error_dialog.js: -------------------------------------------------------------------------------- 1 | // Copyright 2016 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 | 5 | /** 6 | * @fileoverview A dialog for showing SSL certificate related error messages. 7 | * The user can only close the dialog, there is no other possible interaction. 8 | */ 9 | Polymer({ 10 | is: 'certificates-error-dialog', 11 | 12 | behaviors: [I18nBehavior], 13 | 14 | properties: { 15 | /** @type {!CertificatesError|!CertificatesImportError} */ 16 | model: Object, 17 | }, 18 | 19 | /** @override */ 20 | attached() { 21 | /** @type {!CrDialogElement} */ (this.$.dialog).showModal(); 22 | }, 23 | 24 | /** @private */ 25 | onOkTap_() { 26 | /** @type {!CrDialogElement} */ (this.$.dialog).close(); 27 | }, 28 | 29 | /** 30 | * @param {{name: string, error: string}} importError 31 | * @return {string} 32 | * @private 33 | */ 34 | getCertificateErrorText_(importError) { 35 | return loadTimeData.getStringF( 36 | 'certificateImportErrorFormat', importError.name, importError.error); 37 | }, 38 | }); 39 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_view_manager/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("//tools/polymer/polymer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ ":cr_view_manager" ] 10 | } 11 | 12 | js_library("cr_view_manager") { 13 | deps = [ "//ui/webui/resources/js:assert" ] 14 | } 15 | 16 | polymer_modulizer("cr_view_manager") { 17 | js_file = "cr_view_manager.js" 18 | html_file = "cr_view_manager.html" 19 | html_type = "dom-module" 20 | auto_imports = [ "ui/webui/resources/html/assert.html|assert" ] 21 | } 22 | 23 | js_type_check("closure_compile_module") { 24 | is_polymer3 = true 25 | deps = [ ":cr_view_manager.m" ] 26 | } 27 | 28 | js_library("cr_view_manager.m") { 29 | sources = [ "$root_gen_dir/ui/webui/resources/cr_elements/cr_view_manager/cr_view_manager.m.js" ] 30 | deps = [ 31 | "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", 32 | "//ui/webui/resources/js:assert.m", 33 | ] 34 | extra_deps = [ ":cr_view_manager_module" ] 35 | } 36 | -------------------------------------------------------------------------------- /elements/viewer-form-warning.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 | 5 | import 'chrome://resources/cr_elements/cr_button/cr_button.m.js'; 6 | import 'chrome://resources/cr_elements/cr_dialog/cr_dialog.m.js'; 7 | import 'chrome://resources/cr_elements/hidden_style_css.m.js'; 8 | 9 | import {PromiseResolver} from 'chrome://resources/js/promise_resolver.m.js'; 10 | import {html, Polymer} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; 11 | 12 | Polymer({ 13 | is: 'viewer-form-warning', 14 | 15 | _template: html`{__html_template__}`, 16 | 17 | properties: { 18 | strings: Object, 19 | }, 20 | 21 | /** @private {PromiseResolver} */ 22 | resolver_: null, 23 | 24 | show() { 25 | this.resolver_ = new PromiseResolver(); 26 | /** @type {!CrDialogElement} */ (this.$.dialog).showModal(); 27 | return this.resolver_.promise; 28 | }, 29 | 30 | onCancel() { 31 | this.resolver_.reject(); 32 | this.$.dialog.cancel(); 33 | }, 34 | 35 | onAction() { 36 | this.resolver_.resolve(); 37 | this.$.dialog.close(); 38 | }, 39 | }); 40 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/quick_unlock/BUILD.gn: -------------------------------------------------------------------------------- 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | 7 | js_type_check("closure_compile") { 8 | deps = [ 9 | ":pin_keyboard", 10 | ":setup_pin_keyboard", 11 | ] 12 | } 13 | 14 | js_library("pin_keyboard") { 15 | deps = [ 16 | "//ui/webui/resources/cr_elements/cr_input:cr_input", 17 | "//ui/webui/resources/js:i18n_behavior", 18 | ] 19 | } 20 | 21 | js_library("lock_screen_constants") { 22 | deps = [ 23 | "//ui/webui/resources/cr_elements/cr_profile_avatar_selector:cr_profile_avatar_selector", 24 | "//ui/webui/resources/js:cr", 25 | ] 26 | } 27 | 28 | js_library("setup_pin_keyboard") { 29 | deps = [ 30 | ":lock_screen_constants", 31 | ":pin_keyboard", 32 | "//ui/webui/resources/cr_components/chromeos/quick_unlock:lock_screen_constants", 33 | "//ui/webui/resources/js:i18n_behavior", 34 | ] 35 | externs_list = [ "$externs_path/quick_unlock_private.js" ] 36 | extra_sources = [ "$interfaces_path/quick_unlock_private_interface.js" ] 37 | } 38 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_checkbox/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("//tools/polymer/polymer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ ":cr_checkbox" ] 10 | } 11 | 12 | js_library("cr_checkbox") { 13 | deps = [ "//third_party/polymer/v1_0/components-chromium/paper-behaviors:paper-ripple-behavior-extracted" ] 14 | } 15 | 16 | polymer_modulizer("cr_checkbox") { 17 | js_file = "cr_checkbox.js" 18 | html_file = "cr_checkbox.html" 19 | html_type = "dom-module" 20 | } 21 | 22 | js_type_check("closure_compile_module") { 23 | is_polymer3 = true 24 | deps = [ ":cr_checkbox.m" ] 25 | } 26 | 27 | js_library("cr_checkbox.m") { 28 | sources = [ 29 | "$root_gen_dir/ui/webui/resources/cr_elements/cr_checkbox/cr_checkbox.m.js", 30 | ] 31 | deps = [ 32 | "//third_party/polymer/v3_0/components-chromium/paper-behaviors:paper-ripple-behavior", 33 | "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", 34 | ] 35 | extra_deps = [ ":cr_checkbox_module" ] 36 | } 37 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/cellular_setup/mojo_interface_provider.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 | 5 | cr.define('cellular_setup', function() { 6 | /** @interface */ 7 | class MojoInterfaceProvider { 8 | /** @return {!chromeos.cellularSetup.mojom.CellularSetupRemote} */ 9 | getMojoServiceRemote() {} 10 | } 11 | 12 | /** @implements {cellular_setup.MojoInterfaceProvider} */ 13 | class MojoInterfaceProviderImpl { 14 | constructor() { 15 | /** @private {?chromeos.cellularSetup.mojom.CellularSetupRemote} */ 16 | this.remote_ = null; 17 | } 18 | 19 | /** @override */ 20 | getMojoServiceRemote() { 21 | if (!this.remote_) { 22 | this.remote_ = chromeos.cellularSetup.mojom.CellularSetup.getRemote( 23 | /*useBrowserInterfaceBroker=*/ true); 24 | } 25 | 26 | return this.remote_; 27 | } 28 | } 29 | 30 | cr.addSingletonGetter(MojoInterfaceProviderImpl); 31 | 32 | return { 33 | MojoInterfaceProvider: MojoInterfaceProvider, 34 | MojoInterfaceProviderImpl: MojoInterfaceProviderImpl, 35 | }; 36 | }); 37 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/mojo_interface_provider.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 | 5 | cr.define('network_config', function() { 6 | /** @interface */ 7 | class MojoInterfaceProvider { 8 | /** @return {!chromeos.networkConfig.mojom.CrosNetworkConfigRemote} */ 9 | getMojoServiceRemote() {} 10 | } 11 | 12 | /** @implements {network_config.MojoInterfaceProvider} */ 13 | class MojoInterfaceProviderImpl { 14 | constructor() { 15 | /** @private {?chromeos.networkConfig.mojom.CrosNetworkConfigRemote} */ 16 | this.remote_ = null; 17 | } 18 | 19 | /** @override */ 20 | getMojoServiceRemote() { 21 | if (!this.remote_) { 22 | this.remote_ = chromeos.networkConfig.mojom.CrosNetworkConfig.getRemote( 23 | /*useBrowserInterfaceBroker=*/ true); 24 | } 25 | 26 | return this.remote_; 27 | } 28 | } 29 | 30 | cr.addSingletonGetter(MojoInterfaceProviderImpl); 31 | 32 | return { 33 | MojoInterfaceProvider: MojoInterfaceProvider, 34 | MojoInterfaceProviderImpl: MojoInterfaceProviderImpl, 35 | }; 36 | }); 37 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/multidevice_setup_shared_css.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 20 | 21 | 22 | 23 | 31 | 32 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_icon_button/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2019 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("//tools/polymer/polymer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ ":cr_icon_button" ] 10 | } 11 | 12 | js_library("cr_icon_button") { 13 | deps = [ "//third_party/polymer/v1_0/components-chromium/paper-behaviors:paper-ripple-behavior-extracted" ] 14 | } 15 | 16 | polymer_modulizer("cr_icon_button") { 17 | js_file = "cr_icon_button.js" 18 | html_file = "cr_icon_button.html" 19 | html_type = "dom-module" 20 | } 21 | 22 | js_type_check("closure_compile_module") { 23 | is_polymer3 = true 24 | deps = [ ":cr_icon_button.m" ] 25 | } 26 | 27 | js_library("cr_icon_button.m") { 28 | sources = [ "$root_gen_dir/ui/webui/resources/cr_elements/cr_icon_button/cr_icon_button.m.js" ] 29 | deps = [ 30 | "//third_party/polymer/v3_0/components-chromium/paper-behaviors:paper-ripple-behavior", 31 | "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", 32 | ] 33 | extra_deps = [ ":cr_icon_button_module" ] 34 | } 35 | -------------------------------------------------------------------------------- /vendor/cr_elements/policy/cr_tooltip_icon.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/cellular_setup/button_bar.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 | 5 | /** Element containing navigation buttons for the Cellular Setup flow. */ 6 | Polymer({ 7 | is: 'button-bar', 8 | 9 | behaviors: [I18nBehavior], 10 | 11 | properties: { 12 | /** When set, displays the Try Again action button. */ 13 | showTryAgainButton: { 14 | type: Boolean, 15 | value: false, 16 | }, 17 | 18 | /** When set, displays the Finish action button. */ 19 | showFinishButton: { 20 | type: Boolean, 21 | value: false, 22 | }, 23 | 24 | /** When set, displays a cancel button instead of back. */ 25 | showCancelButton: { 26 | type: Boolean, 27 | value: false, 28 | }, 29 | }, 30 | 31 | /** @private */ 32 | onBackwardButtonClicked_() { 33 | this.fire('backward-nav-requested'); 34 | }, 35 | 36 | /** @private */ 37 | onTryAgainButtonClicked_() { 38 | this.fire('retry-requested'); 39 | }, 40 | 41 | /** @private */ 42 | onFinishButtonClicked_() { 43 | this.fire('complete-flow-requested'); 44 | }, 45 | }); 46 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/cellular_setup/sim_detect_page.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 | 5 | /** 6 | * SIM Detection subpage in Cellular Setup flow. This element contains image 7 | * asset and description to indicate that the SIM detection is in progress. 8 | * It also has an error state that displays a message for errors that may 9 | * happen during this step. 10 | */ 11 | Polymer({ 12 | is: 'sim-detect-page', 13 | 14 | behaviors: [I18nBehavior], 15 | 16 | properties: { 17 | /** 18 | * Whether error state should be shown. 19 | * @type {boolean} 20 | */ 21 | showError: Boolean, 22 | }, 23 | 24 | /** 25 | * @param {boolean} showError 26 | * @return {string} 27 | * @private 28 | */ 29 | getTitle_(showError) { 30 | return this.i18n( 31 | showError ? 'simDetectPageErrorTitle' : 'simDetectPageTitle'); 32 | }, 33 | 34 | /** 35 | * @param {boolean} showError 36 | * @return {string} 37 | * @private 38 | */ 39 | getMessage_(showError) { 40 | return showError ? this.i18n('simDetectPageErrorMessage') : ''; 41 | }, 42 | }); 43 | -------------------------------------------------------------------------------- /index.css: -------------------------------------------------------------------------------- 1 | /* Copyright 2015 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 | 5 | html { 6 | /* The viewer implements a custom pinch zoom. */ 7 | touch-action: pan-x pan-y; 8 | } 9 | 10 | body { 11 | background-color: rgb(82, 86, 89); 12 | color: var(--primary-text-color); 13 | line-height: 154%; 14 | margin: 0; 15 | } 16 | 17 | viewer-page-indicator { 18 | opacity: 0; 19 | visibility: hidden; 20 | z-index: 2; 21 | } 22 | 23 | viewer-pdf-toolbar { 24 | position: fixed; 25 | width: 100%; 26 | z-index: 4; 27 | } 28 | 29 | #content { 30 | height: 100%; 31 | position: fixed; 32 | width: 100%; 33 | z-index: 1; 34 | } 35 | 36 | 37 | viewer-ink-host, 38 | #plugin { 39 | height: 100%; 40 | position: absolute; 41 | width: 100%; 42 | } 43 | 44 | #sizer { 45 | position: absolute; 46 | z-index: 0; 47 | } 48 | 49 | @media(max-height: 250px) { 50 | viewer-pdf-toolbar { 51 | display: none; 52 | } 53 | } 54 | 55 | @media(max-height: 200px) { 56 | viewer-zoom-toolbar { 57 | display: none; 58 | } 59 | } 60 | 61 | @media(max-width: 300px) { 62 | viewer-zoom-toolbar { 63 | display: none; 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/network_proxy_exclusions.js: -------------------------------------------------------------------------------- 1 | // Copyright 2015 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 | 5 | /** 6 | * @fileoverview Polymer element for displaying a list of proxy exclusions. 7 | * Includes UI for adding, changing, and removing entries. 8 | */ 9 | 10 | (function() { 11 | 12 | Polymer({ 13 | is: 'network-proxy-exclusions', 14 | 15 | behaviors: [I18nBehavior], 16 | 17 | properties: { 18 | /** Whether or not the proxy values can be edited. */ 19 | editable: { 20 | type: Boolean, 21 | value: false, 22 | }, 23 | 24 | /** 25 | * The list of exclusions. 26 | * @type {!Array} 27 | */ 28 | exclusions: { 29 | type: Array, 30 | value() { 31 | return []; 32 | }, 33 | notify: true 34 | } 35 | }, 36 | 37 | /** 38 | * Event triggered when an item is removed. 39 | * @param {!{model: !{index: number}}} event 40 | * @private 41 | */ 42 | onRemoveTap_(event) { 43 | const index = event.model.index; 44 | this.splice('exclusions', index, 1); 45 | this.fire('proxy-exclusions-change'); 46 | } 47 | }); 48 | })(); 49 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_lazy_render/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("//tools/polymer/polymer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ ":cr_lazy_render" ] 10 | } 11 | 12 | js_library("cr_lazy_render") { 13 | externs_list = [ "$externs_path/pending_polymer.js" ] 14 | } 15 | 16 | polymer_modulizer("cr_lazy_render") { 17 | js_file = "cr_lazy_render.js" 18 | html_file = "cr_lazy_render.html" 19 | html_type = "dom-module" 20 | namespace_rewrites = [ "Polymer.Templatize.templatize|templatize" ] 21 | auto_imports = [ "ui/webui/resources/html/polymer.html|Polymer,html,templatize,TemplateInstanceBase" ] 22 | } 23 | 24 | js_type_check("closure_compile_module") { 25 | is_polymer3 = true 26 | deps = [ ":cr_lazy_render.m" ] 27 | } 28 | 29 | js_library("cr_lazy_render.m") { 30 | sources = [ "$root_gen_dir/ui/webui/resources/cr_elements/cr_lazy_render/cr_lazy_render.m.js" ] 31 | deps = [ 32 | "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", 33 | ] 34 | extra_deps = [ ":cr_lazy_render_module" ] 35 | } 36 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/mojo_api.js: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 | 5 | cr.define('multidevice_setup', function() { 6 | /** @interface */ 7 | class MojoInterfaceProvider { 8 | /** 9 | * @return {!chromeos.multideviceSetup.mojom.MultiDeviceSetupRemote} 10 | */ 11 | getMojoServiceRemote() {} 12 | } 13 | 14 | /** @implements {multidevice_setup.MojoInterfaceProvider} */ 15 | class MojoInterfaceProviderImpl { 16 | constructor() { 17 | /** @private {?chromeos.multideviceSetup.mojom.MultiDeviceSetupRemote} */ 18 | this.remote_ = null; 19 | } 20 | 21 | /** @override */ 22 | getMojoServiceRemote() { 23 | if (!this.remote_) { 24 | this.remote_ = 25 | chromeos.multideviceSetup.mojom.MultiDeviceSetup.getRemote( 26 | /*useBrowserInterfaceBroker=*/ true); 27 | } 28 | 29 | return this.remote_; 30 | } 31 | } 32 | 33 | cr.addSingletonGetter(MojoInterfaceProviderImpl); 34 | 35 | return { 36 | MojoInterfaceProvider: MojoInterfaceProvider, 37 | MojoInterfaceProviderImpl: MojoInterfaceProviderImpl, 38 | }; 39 | }); 40 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/multidevice_setup_browser_proxy.js: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 | 5 | cr.define('multidevice_setup', function() { 6 | /** @interface */ 7 | class BrowserProxy { 8 | /** 9 | * Requests profile information; namely, a dictionary containing the user's 10 | * e-mail address and profile photo. 11 | * @return {!Promise<{profilePhotoUrl: string, email: string}>} 12 | */ 13 | getProfileInfo() {} 14 | 15 | /** 16 | * Opens settings to the MultiDevice individual feature settings subpage. 17 | * (a.k.a. Connected Devices). 18 | */ 19 | openMultiDeviceSettings() {} 20 | } 21 | 22 | /** @implements {multidevice_setup.BrowserProxy} */ 23 | class BrowserProxyImpl { 24 | /** @override */ 25 | getProfileInfo() { 26 | return cr.sendWithPromise('getProfileInfo'); 27 | } 28 | 29 | /** @override */ 30 | openMultiDeviceSettings() { 31 | chrome.send('openMultiDeviceSettings'); 32 | } 33 | } 34 | 35 | cr.addSingletonGetter(BrowserProxyImpl); 36 | 37 | return { 38 | BrowserProxy: BrowserProxy, 39 | BrowserProxyImpl: BrowserProxyImpl, 40 | }; 41 | }); 42 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_radio_button/cr_radio_button.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_drawer/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("//tools/polymer/polymer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ ":cr_drawer" ] 10 | } 11 | 12 | js_library("cr_drawer") { 13 | deps = [ 14 | "//ui/webui/resources/js:assert", 15 | "//ui/webui/resources/js:util", 16 | ] 17 | } 18 | 19 | polymer_modulizer("cr_drawer") { 20 | js_file = "cr_drawer.js" 21 | html_file = "cr_drawer.html" 22 | html_type = "dom-module" 23 | auto_imports = [ 24 | "ui/webui/resources/html/assert.html|assertNotReached", 25 | "ui/webui/resources/html/util.html|listenOnce", 26 | ] 27 | } 28 | 29 | js_type_check("closure_compile_module") { 30 | is_polymer3 = true 31 | deps = [ ":cr_drawer.m" ] 32 | } 33 | 34 | js_library("cr_drawer.m") { 35 | sources = [ 36 | "$root_gen_dir/ui/webui/resources/cr_elements/cr_drawer/cr_drawer.m.js", 37 | ] 38 | deps = [ 39 | "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", 40 | "//ui/webui/resources/js:assert.m", 41 | "//ui/webui/resources/js:util.m", 42 | ] 43 | extra_deps = [ ":cr_drawer_module" ] 44 | } 45 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_expand_button/cr_expand_button.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_button/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2019 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("//tools/polymer/polymer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ ":cr_button" ] 10 | } 11 | 12 | js_library("cr_button") { 13 | deps = [ 14 | "//third_party/polymer/v1_0/components-chromium/paper-behaviors:paper-ripple-behavior-extracted", 15 | "//ui/webui/resources/js/cr/ui:focus_outline_manager", 16 | ] 17 | } 18 | 19 | polymer_modulizer("cr_button") { 20 | js_file = "cr_button.js" 21 | html_file = "cr_button.html" 22 | html_type = "dom-module" 23 | } 24 | 25 | js_type_check("closure_compile_module") { 26 | is_polymer3 = true 27 | deps = [ ":cr_button.m" ] 28 | } 29 | 30 | js_library("cr_button.m") { 31 | sources = [ 32 | "$root_gen_dir/ui/webui/resources/cr_elements/cr_button/cr_button.m.js", 33 | ] 34 | deps = [ 35 | "//third_party/polymer/v3_0/components-chromium/paper-behaviors:paper-ripple-behavior", 36 | "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", 37 | "//ui/webui/resources/js/cr/ui:focus_outline_manager.m", 38 | ] 39 | extra_deps = [ ":cr_button_module" ] 40 | } 41 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_dialog/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("//tools/polymer/polymer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ ":cr_dialog" ] 10 | } 11 | 12 | js_library("cr_dialog") { 13 | deps = [ 14 | "..:cr_container_shadow_behavior", 15 | "//ui/webui/resources/js:assert", 16 | ] 17 | } 18 | 19 | polymer_modulizer("cr_dialog") { 20 | js_file = "cr_dialog.js" 21 | html_file = "cr_dialog.html" 22 | html_type = "dom-module" 23 | auto_imports = [ 24 | "ui/webui/resources/cr_elements/cr_container_shadow_behavior.html|CrContainerShadowBehavior", 25 | "ui/webui/resources/html/assert.html|assert", 26 | ] 27 | } 28 | 29 | js_type_check("closure_compile_module") { 30 | is_polymer3 = true 31 | deps = [ ":cr_dialog.m" ] 32 | } 33 | 34 | js_library("cr_dialog.m") { 35 | sources = [ 36 | "$root_gen_dir/ui/webui/resources/cr_elements/cr_dialog/cr_dialog.m.js", 37 | ] 38 | deps = [ 39 | "..:cr_container_shadow_behavior.m", 40 | "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", 41 | "//ui/webui/resources/js:assert.m", 42 | ] 43 | extra_deps = [ ":cr_dialog_module" ] 44 | } 45 | -------------------------------------------------------------------------------- /vendor/cr_components/managed_footnote/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("//tools/polymer/polymer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ ":managed_footnote" ] 10 | } 11 | 12 | js_library("managed_footnote") { 13 | deps = [ 14 | "//ui/webui/resources/js:i18n_behavior", 15 | "//ui/webui/resources/js:load_time_data", 16 | "//ui/webui/resources/js:web_ui_listener_behavior", 17 | ] 18 | } 19 | 20 | polymer_modulizer("managed_footnote") { 21 | js_file = "managed_footnote.js" 22 | html_file = "managed_footnote.html" 23 | html_type = "dom-module" 24 | } 25 | 26 | js_type_check("closure_compile_module") { 27 | is_polymer3 = true 28 | deps = [ ":managed_footnote.m" ] 29 | } 30 | 31 | js_library("managed_footnote.m") { 32 | sources = [ "$root_gen_dir/ui/webui/resources/cr_components/managed_footnote/managed_footnote.m.js" ] 33 | deps = [ 34 | "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", 35 | "//ui/webui/resources/js:i18n_behavior.m", 36 | "//ui/webui/resources/js:load_time_data.m", 37 | "//ui/webui/resources/js:web_ui_listener_behavior.m", 38 | ] 39 | extra_deps = [ ":managed_footnote_module" ] 40 | } 41 | -------------------------------------------------------------------------------- /vendor/cr_polymer_resources_v3.grdp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 9 | 12 | 15 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/network_config_toggle.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/network_listener_behavior.js: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 | 5 | /** 6 | * @fileoverview Polymer behavior for observing CrosNetworkConfigObserver 7 | * events. 8 | */ 9 | 10 | /** @polymerBehavior */ 11 | const NetworkListenerBehavior = { 12 | /** @private {?chromeos.networkConfig.mojom.CrosNetworkConfigObserver} */ 13 | observer_: null, 14 | 15 | /** @override */ 16 | attached() { 17 | this.observer_ = 18 | new chromeos.networkConfig.mojom.CrosNetworkConfigObserverReceiver( 19 | this); 20 | network_config.MojoInterfaceProviderImpl.getInstance() 21 | .getMojoServiceRemote() 22 | .addObserver(this.observer_.$.bindNewPipeAndPassRemote()); 23 | }, 24 | 25 | // CrosNetworkConfigObserver methods. Override these in the implementation. 26 | 27 | /** 28 | * @param {!Array} 29 | * activeNetworks 30 | */ 31 | onActiveNetworksChanged(activeNetworks) {}, 32 | 33 | /** @param {!chromeos.networkConfig.mojom.NetworkStateProperties} network */ 34 | onNetworkStateChanged(network) {}, 35 | 36 | onNetworkStateListChanged() {}, 37 | 38 | onDeviceStateListChanged() {}, 39 | 40 | onVpnProvidersChanged() {}, 41 | 42 | onNetworkCertificatesChanged() {}, 43 | }; 44 | -------------------------------------------------------------------------------- /vendor/cr_components/certificate_manager/certificates_error_dialog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/cellular_setup/final_page.js: -------------------------------------------------------------------------------- 1 | // Copyright 2019 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 | 5 | /** 6 | * Final page in Cellular Setup flow, which either displays a success or error 7 | * message depending on the outcome of the flow. This element contains an image 8 | * asset and description that indicates that the setup flow has completed. 9 | */ 10 | Polymer({ 11 | is: 'final-page', 12 | 13 | behaviors: [I18nBehavior], 14 | 15 | properties: { 16 | /** 17 | * Whether error state should be shown. 18 | * @type {boolean} 19 | */ 20 | showError: Boolean, 21 | }, 22 | 23 | /** 24 | * @param {boolean} showError 25 | * @return {string} 26 | * @private 27 | */ 28 | getTitle_(showError) { 29 | return showError ? this.i18n('finalPageErrorTitle') : 30 | this.i18n('finalPageTitle'); 31 | }, 32 | 33 | /** 34 | * @param {boolean} showError 35 | * @return {string} 36 | * @private 37 | */ 38 | getMessage_(showError) { 39 | return showError ? this.i18n('finalPageErrorMessage') : 40 | this.i18n('finalPageMessage'); 41 | }, 42 | 43 | /** 44 | * @param {boolean} showError 45 | * @return {string} 46 | * @private 47 | */ 48 | getPageBodyClass_(showError) { 49 | return showError ? 'error' : ''; 50 | }, 51 | }); 52 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_slider/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("//tools/polymer/polymer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ ":cr_slider" ] 10 | } 11 | 12 | js_library("cr_slider") { 13 | deps = [ 14 | "//third_party/polymer/v1_0/components-chromium/paper-behaviors:paper-ripple-behavior-extracted", 15 | "//ui/webui/resources/js:cr", 16 | "//ui/webui/resources/js:event_tracker", 17 | ] 18 | } 19 | 20 | polymer_modulizer("cr_slider") { 21 | js_file = "cr_slider.js" 22 | html_file = "cr_slider.html" 23 | html_type = "dom-module" 24 | auto_imports = [ "ui/webui/resources/html/event_tracker.html|EventTracker" ] 25 | namespace_rewrites = [ "cr_slider.SliderTick|SliderTick" ] 26 | } 27 | 28 | js_type_check("closure_compile_module") { 29 | is_polymer3 = true 30 | deps = [ ":cr_slider.m" ] 31 | } 32 | 33 | js_library("cr_slider.m") { 34 | sources = [ 35 | "$root_gen_dir/ui/webui/resources/cr_elements/cr_slider/cr_slider.m.js", 36 | ] 37 | deps = [ 38 | "//third_party/polymer/v3_0/components-chromium/paper-behaviors:paper-ripple-behavior", 39 | "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", 40 | "//ui/webui/resources/js:event_tracker.m", 41 | ] 42 | extra_deps = [ ":cr_slider_module" ] 43 | } 44 | -------------------------------------------------------------------------------- /vendor/cr_components/certificate_manager/certificate_delete_confirmation_dialog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /elements/viewer-page-selector.html: -------------------------------------------------------------------------------- 1 | 38 |
39 | 42 | 43 |
44 | / 45 | 46 | {{docLength}} 47 | 48 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/setup_succeeded_page.js: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 | 5 | Polymer({ 6 | is: 'setup-succeeded-page', 7 | 8 | properties: { 9 | /** Overridden from UiPageContainerBehavior. */ 10 | forwardButtonTextId: { 11 | type: String, 12 | value: 'done', 13 | }, 14 | }, 15 | 16 | behaviors: [UiPageContainerBehavior], 17 | 18 | /** @private {?multidevice_setup.BrowserProxy} */ 19 | browserProxy_: null, 20 | 21 | /** @override */ 22 | created() { 23 | this.browserProxy_ = multidevice_setup.BrowserProxyImpl.getInstance(); 24 | }, 25 | 26 | /** @private */ 27 | openSettings_() { 28 | this.browserProxy_.openMultiDeviceSettings(); 29 | }, 30 | 31 | /** @private */ 32 | onSettingsLinkClicked_() { 33 | this.openSettings_(); 34 | this.fire('setup-exited'); 35 | }, 36 | 37 | /** @private */ 38 | getMessageHtml_() { 39 | const validNodeFn = (node, value) => node.tagName === 'A'; 40 | return this.i18nAdvanced( 41 | 'setupSucceededPageMessage', 42 | {attrs: {'id': validNodeFn, 'href': validNodeFn}}); 43 | }, 44 | 45 | /** @override */ 46 | ready() { 47 | const linkElement = this.$$('#settings-link'); 48 | linkElement.setAttribute('href', '#'); 49 | linkElement.addEventListener('click', () => this.onSettingsLinkClicked_()); 50 | }, 51 | }); 52 | -------------------------------------------------------------------------------- /vendor/cr_elements/search_highlight_style_css.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 48 | 49 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/ui_page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 40 | 42 | 43 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/network_proxy_exclusions.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/network_proxy_input.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/cellular_setup/sim_detect_page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/quick_unlock/lock_screen_constants.js: -------------------------------------------------------------------------------- 1 | // Copyright 2016 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 | 5 | /** 6 | * @fileoverview Constants used for logging the pin unlock setup uma. 7 | */ 8 | 9 | /** 10 | * Name of the pin unlock setup uma histogram. 11 | * @type {string} 12 | */ 13 | const PinUnlockUmaHistogramName = 'Settings.PinUnlockSetup'; 14 | 15 | /** 16 | * Stages the user can enter while setting up pin unlock. 17 | * @enum {number} 18 | */ 19 | const LockScreenProgress = { 20 | START_SCREEN_LOCK: 0, 21 | ENTER_PASSWORD_CORRECTLY: 1, 22 | CHOOSE_PIN_OR_PASSWORD: 2, 23 | ENTER_PIN: 3, 24 | CONFIRM_PIN: 4, 25 | MAX_BUCKET: 5 26 | }; 27 | 28 | cr.define('settings', function() { 29 | /** 30 | * Helper function to send the progress of the pin setup to be recorded in the 31 | * histogram. 32 | * @param {LockScreenProgress} currentProgress 33 | */ 34 | const recordLockScreenProgress = function(currentProgress) { 35 | if (currentProgress >= LockScreenProgress.MAX_BUCKET) { 36 | console.error( 37 | 'Expected a enumeration value of ' + LockScreenProgress.MAX_BUCKET + 38 | ' or lower: Received ' + currentProgress + '.'); 39 | return; 40 | } 41 | chrome.send('metricsHandler:recordInHistogram', [ 42 | PinUnlockUmaHistogramName, currentProgress, LockScreenProgress.MAX_BUCKET 43 | ]); 44 | }; 45 | 46 | return {recordLockScreenProgress: recordLockScreenProgress}; 47 | }); 48 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_radio_group/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("//tools/polymer/polymer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ ":cr_radio_group" ] 10 | } 11 | 12 | js_library("cr_radio_group") { 13 | deps = [ 14 | "//ui/webui/resources/cr_elements/cr_radio_button:cr_radio_button", 15 | "//ui/webui/resources/js:event_tracker", 16 | ] 17 | } 18 | 19 | # Targets for auto-generating and typechecking Polymer 3 JS modules 20 | 21 | polymer_modulizer("cr_radio_group") { 22 | js_file = "cr_radio_group.js" 23 | html_file = "cr_radio_group.html" 24 | html_type = "dom-module" 25 | auto_imports = [ 26 | "ui/webui/resources/html/event_tracker.html|EventTracker", 27 | "ui/webui/resources/html/polymer.html|Polymer,html,dom", 28 | ] 29 | namespace_rewrites = [ "Polymer.dom|dom" ] 30 | } 31 | 32 | js_type_check("closure_compile_module") { 33 | is_polymer3 = true 34 | deps = [ ":cr_radio_group.m" ] 35 | } 36 | 37 | js_library("cr_radio_group.m") { 38 | sources = [ "$root_gen_dir/ui/webui/resources/cr_elements/cr_radio_group/cr_radio_group.m.js" ] 39 | deps = [ 40 | "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", 41 | "//ui/webui/resources/cr_elements/cr_radio_button:cr_radio_button.m", 42 | "//ui/webui/resources/js:event_tracker.m", 43 | ] 44 | extra_deps = [ ":cr_radio_group_module" ] 45 | } 46 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/multidevice_setup/button_bar.js: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 | 5 | /** 6 | * DOM Element containing (page-dependent) navigation buttons for the 7 | * MultiDevice Setup WebUI. 8 | */ 9 | Polymer({ 10 | is: 'button-bar', 11 | 12 | properties: { 13 | /** Whether the forward button should be hidden. */ 14 | forwardButtonHidden: { 15 | type: Boolean, 16 | value: true, 17 | }, 18 | 19 | /** Whether the cancel button should be hidden. */ 20 | cancelButtonHidden: { 21 | type: Boolean, 22 | value: true, 23 | }, 24 | 25 | /** Whether the backward button should be hidden. */ 26 | backwardButtonHidden: { 27 | type: Boolean, 28 | value: true, 29 | }, 30 | 31 | /** Whether a shadow should appear over the button bar. */ 32 | shouldShowShadow: { 33 | type: Boolean, 34 | value: false, 35 | observer: 'onShouldShowShadowChange_', 36 | } 37 | }, 38 | 39 | /** @private */ 40 | onForwardButtonClicked_() { 41 | this.fire('forward-navigation-requested'); 42 | }, 43 | 44 | /** @private */ 45 | onCancelButtonClicked_() { 46 | this.fire('cancel-requested'); 47 | }, 48 | 49 | /** @private */ 50 | onBackwardButtonClicked_() { 51 | this.fire('backward-navigation-requested'); 52 | }, 53 | 54 | /** @private */ 55 | onShouldShowShadowChange_() { 56 | this.$.shadow.hidden = !!this.shouldShowShadow; 57 | }, 58 | }); 59 | -------------------------------------------------------------------------------- /vendor/css/apps/common.css: -------------------------------------------------------------------------------- 1 | /* Copyright 2013 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 | 5 | button.white-button, 6 | button.blue-button { 7 | border: 1px solid transparent; 8 | border-radius: 2px; 9 | box-sizing: content-box; 10 | cursor: default; 11 | font-size: 14px; 12 | height: 21px; 13 | line-height: 21px; 14 | margin: 0; 15 | min-height: 21px; 16 | min-width: 55px; 17 | outline: none; 18 | padding: 4px 14px; 19 | position: relative; 20 | text-align: center; 21 | z-index: 1; 22 | } 23 | 24 | button.white-button[disabled] { 25 | border-color: #c6c6c6; 26 | } 27 | 28 | button.white-button:focus:active, 29 | button.white-button:focus { 30 | border-color: rgb(62, 126, 248); 31 | } 32 | 33 | button.white-button:active { 34 | background-color: #e6e6e6; 35 | border-color: #a6a6a6; 36 | } 37 | 38 | button.white-button { 39 | background-color: #f9f9f9; 40 | border-color: #a4a4a4; 41 | } 42 | 43 | button.blue-button { 44 | background-color: rgb(50, 100, 255); 45 | border-color: rgb(43, 103, 206); 46 | } 47 | 48 | button.blue-button:hover { 49 | background-color: rgb(60, 110, 255); 50 | } 51 | 52 | button.blue-button:active { 53 | background-color: rgb(26, 91, 216); 54 | border-color: rgb(35, 82, 162); 55 | } 56 | 57 | button.blue-button:focus { 58 | box-shadow: 0 0 0 1px inset rgb(173, 204, 255); 59 | } 60 | 61 | button.blue-button[disabled] { 62 | background-color: rgb(110, 140, 255); 63 | border-color: rgb(148, 177, 229); 64 | } 65 | -------------------------------------------------------------------------------- /vendor/cr_elements/policy/cr_policy_pref_behavior.js: -------------------------------------------------------------------------------- 1 | // Copyright 2015 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 | 5 | /** 6 | * @fileoverview Behavior for policy controlled settings prefs. 7 | */ 8 | 9 | /** @polymerBehavior */ 10 | const CrPolicyPrefBehavior = { 11 | properties: { 12 | /** 13 | * Showing that an extension is controlling a pref is sometimes done with a 14 | * different UI (e.g. extension-controlled-indicator). In those cases, 15 | * avoid showing an (extra) indicator here. 16 | * @public 17 | */ 18 | noExtensionIndicator: Boolean, 19 | }, 20 | 21 | /** 22 | * Is the |pref| controlled by something that prevents user control of the 23 | * preference. 24 | * @return {boolean} True if |this.pref| is controlled by an enforced policy. 25 | */ 26 | isPrefEnforced() { 27 | return !!this.pref && 28 | this.pref.enforcement === chrome.settingsPrivate.Enforcement.ENFORCED; 29 | }, 30 | 31 | /** 32 | * @return {boolean} True if |this.pref| has a recommended or enforced policy. 33 | */ 34 | hasPrefPolicyIndicator() { 35 | if (!this.pref) { 36 | return false; 37 | } 38 | if (this.noExtensionIndicator && 39 | this.pref.controlledBy === 40 | chrome.settingsPrivate.ControlledBy.EXTENSION) { 41 | return false; 42 | } 43 | return this.isPrefEnforced() || 44 | this.pref.enforcement === 45 | chrome.settingsPrivate.Enforcement.RECOMMENDED; 46 | }, 47 | }; 48 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/network_config_input.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /vendor/cr_components/certificate_manager/certificate_manager_types.js: -------------------------------------------------------------------------------- 1 | // Copyright 2016 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 | 5 | /** 6 | * @fileoverview Closure compiler typedefs. 7 | */ 8 | 9 | // clang-format off 10 | // #import {CertificateSubnode, NewCertificateSubNode, CertificateType, CertificatesError, CertificatesImportError} from './certificates_browser_proxy.m.js'; 11 | // clang-format on 12 | 13 | /** 14 | * The payload of the 'certificate-action' event. 15 | * @typedef {{ 16 | * action: !CertificateAction, 17 | * subnode: (null|CertificateSubnode|NewCertificateSubNode), 18 | * certificateType: !CertificateType, 19 | * anchor: !HTMLElement 20 | * }} 21 | */ 22 | /* #export */ let CertificateActionEventDetail; 23 | 24 | /** 25 | * The payload of the 'certificates-error' event. 26 | * @typedef {{ 27 | * error: (null|CertificatesError|CertificatesImportError), 28 | * anchor: ?HTMLElement 29 | * }} 30 | */ 31 | /* #export */ let CertificatesErrorEventDetail; 32 | 33 | /** 34 | * Enumeration of actions that require a popup menu to be shown to the user. 35 | * @enum {number} 36 | */ 37 | /* #export */ const CertificateAction = { 38 | DELETE: 0, 39 | EDIT: 1, 40 | EXPORT_PERSONAL: 2, 41 | IMPORT: 3, 42 | }; 43 | 44 | /** 45 | * The name of the event fired when a certificate action is selected from the 46 | * dropdown menu. CertificateActionEventDetail is passed as the event detail. 47 | */ 48 | /* #export */ const CertificateActionEvent = 'certificate-action'; 49 | -------------------------------------------------------------------------------- /vendor/js/web_ui_listener_behavior.js: -------------------------------------------------------------------------------- 1 | // Copyright 2016 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 | 5 | /** 6 | * @fileoverview Behavior to be used by Polymer elements that want to 7 | * automatically remove WebUI listeners when detached. 8 | */ 9 | 10 | // #import {WebUIListener, addWebUIListener, removeWebUIListener} from './cr.m.js'; 11 | 12 | /** @polymerBehavior */ 13 | // eslint-disable-next-line no-var 14 | /* #export */ var WebUIListenerBehavior = { 15 | properties: { 16 | /** 17 | * Holds WebUI listeners that need to be removed when this element is 18 | * destroyed. 19 | * @private {!Array} 20 | */ 21 | webUIListeners_: { 22 | type: Array, 23 | value() { 24 | return []; 25 | }, 26 | }, 27 | }, 28 | 29 | /** 30 | * Adds a WebUI listener and registers it for automatic removal when this 31 | * element is detached. 32 | * Note: Do not use this method if you intend to remove this listener 33 | * manually (use cr.addWebUIListener directly instead). 34 | * 35 | * @param {string} eventName The event to listen to. 36 | * @param {!Function} callback The callback run when the event is fired. 37 | */ 38 | addWebUIListener(eventName, callback) { 39 | this.webUIListeners_.push(cr.addWebUIListener(eventName, callback)); 40 | }, 41 | 42 | /** @override */ 43 | detached() { 44 | while (this.webUIListeners_.length > 0) { 45 | cr.removeWebUIListener(this.webUIListeners_.pop()); 46 | } 47 | }, 48 | }; 49 | -------------------------------------------------------------------------------- /vendor/cr_components/chromeos/network/network_select.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /vendor/cr_elements/chromeos/cros_color_overrides.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 37 | 38 | -------------------------------------------------------------------------------- /vendor/cr_elements/cr_input/BUILD.gn: -------------------------------------------------------------------------------- 1 | # Copyright 2018 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 | 5 | import("//third_party/closure_compiler/compile_js.gni") 6 | import("//tools/polymer/polymer.gni") 7 | 8 | js_type_check("closure_compile") { 9 | deps = [ ":cr_input" ] 10 | } 11 | 12 | js_library("cr_input") { 13 | deps = [ 14 | "//third_party/polymer/v1_0/components-chromium/iron-a11y-announcer:iron-a11y-announcer-extracted", 15 | "//ui/webui/resources/js:assert", 16 | ] 17 | } 18 | 19 | group("polymer3_elements") { 20 | deps = [ 21 | ":cr_input_module", 22 | ":cr_input_style_css_module", 23 | ] 24 | } 25 | 26 | polymer_modulizer("cr_input") { 27 | js_file = "cr_input.js" 28 | html_file = "cr_input.html" 29 | html_type = "dom-module" 30 | auto_imports = [ "ui/webui/resources/html/assert.html|assert" ] 31 | } 32 | 33 | polymer_modulizer("cr_input_style_css") { 34 | js_file = "cr_input_style_css.m.js" 35 | html_file = "cr_input_style_css.html" 36 | html_type = "style-module" 37 | } 38 | 39 | js_type_check("closure_compile_module") { 40 | is_polymer3 = true 41 | deps = [ ":cr_input.m" ] 42 | } 43 | 44 | js_library("cr_input.m") { 45 | sources = 46 | [ "$root_gen_dir/ui/webui/resources/cr_elements/cr_input/cr_input.m.js" ] 47 | deps = [ 48 | "../../js:assert.m", 49 | "//third_party/polymer/v3_0/components-chromium/iron-a11y-announcer:iron-a11y-announcer", 50 | "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", 51 | ] 52 | extra_deps = [ ":cr_input_module" ] 53 | } 54 | -------------------------------------------------------------------------------- /vendor/cr_components/certificate_manager/certificate_password_decryption_dialog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 37 | 38 | 39 | --------------------------------------------------------------------------------