| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html
"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html
"> |
| 2 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 2 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 3 <link rel="import" href="chrome://resources/html/md_select_css.html"> | 3 <link rel="import" href="chrome://resources/html/md_select_css.html"> |
| 4 <link rel="import" href="chrome://resources/html/polymer.html"> | 4 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 5 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 5 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 6 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi
nner.html"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi
nner.html"> |
| 9 <link rel="import" href="/controls/settings_checkbox.html"> | 10 <link rel="import" href="/controls/settings_checkbox.html"> |
| 10 <link rel="import" href="/controls/settings_toggle_button.html"> | 11 <link rel="import" href="/controls/settings_toggle_button.html"> |
| 11 <link rel="import" href="/i18n_setup.html"> | 12 <link rel="import" href="/i18n_setup.html"> |
| 12 <link rel="import" href="/icons.html"> | |
| 13 <link rel="import" href="/people_page/import_data_browser_proxy.html"> | 13 <link rel="import" href="/people_page/import_data_browser_proxy.html"> |
| 14 <link rel="import" href="/prefs/prefs_behavior.html"> | 14 <link rel="import" href="/prefs/prefs_behavior.html"> |
| 15 <link rel="import" href="/settings_vars_css.html"> | 15 <link rel="import" href="/settings_vars_css.html"> |
| 16 | 16 |
| 17 <dom-module id="settings-import-data-dialog"> | 17 <dom-module id="settings-import-data-dialog"> |
| 18 <template> | 18 <template> |
| 19 <style include="settings-shared md-select"> | 19 <style include="settings-shared md-select"> |
| 20 .description { | 20 .description { |
| 21 align-items: center; | 21 align-items: center; |
| 22 display: flex; | 22 display: flex; |
| 23 min-height: var(--settings-row-min-height); | 23 min-height: var(--settings-row-min-height); |
| 24 } | 24 } |
| 25 | 25 |
| 26 paper-spinner { | 26 paper-spinner { |
| 27 margin: 0 8px; | 27 margin: 0 8px; |
| 28 } | 28 } |
| 29 | 29 |
| 30 #successIcon { | 30 #successIcon { |
| 31 fill: var(--paper-blue-600); | 31 fill: var(--paper-blue-600); |
| 32 height: 80px; | 32 height: 80px; |
| 33 margin: auto; | 33 margin: auto; |
| 34 width: 100%; | 34 width: 100%; |
| 35 } | 35 } |
| 36 </style> | 36 </style> |
| 37 <dialog is="cr-dialog" id="dialog" ignore-popstate> | 37 <dialog is="cr-dialog" id="dialog" ignore-popstate> |
| 38 <div class="title">$i18n{importTitle}</div> | 38 <div class="title">$i18n{importTitle}</div> |
| 39 <div class="body"> | 39 <div class="body"> |
| 40 <div hidden$="[[!hasImportStatus_( | 40 <div hidden$="[[!hasImportStatus_( |
| 41 importStatusEnum_.SUCCEEDED, importStatus_)]]"> | 41 importStatusEnum_.SUCCEEDED, importStatus_)]]"> |
| 42 <iron-icon id="successIcon" icon="settings:check-circle"> | 42 <iron-icon id="successIcon" icon="cr:check-circle"> |
| 43 </iron-icon> | 43 </iron-icon> |
| 44 <div hidden$="[[!prefs.import_bookmarks.value]]"> | 44 <div hidden$="[[!prefs.import_bookmarks.value]]"> |
| 45 <div class="description">$i18n{importSuccess}</div> | 45 <div class="description">$i18n{importSuccess}</div> |
| 46 <settings-toggle-button class="start" | 46 <settings-toggle-button class="start" |
| 47 label="$i18n{showBookmarksBar}" | 47 label="$i18n{showBookmarksBar}" |
| 48 pref="{{prefs.bookmark_bar.show_on_all_tabs}}"> | 48 pref="{{prefs.bookmark_bar.show_on_all_tabs}}"> |
| 49 </settings-toggle-button> | 49 </settings-toggle-button> |
| 50 </div> | 50 </div> |
| 51 </div> | 51 </div> |
| 52 | 52 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 | 115 |
| 116 <paper-button id="done" class="action-button" | 116 <paper-button id="done" class="action-button" |
| 117 hidden$="[[!hasImportStatus_( | 117 hidden$="[[!hasImportStatus_( |
| 118 importStatusEnum_.SUCCEEDED, importStatus_)]]" | 118 importStatusEnum_.SUCCEEDED, importStatus_)]]" |
| 119 on-tap="closeDialog_">$i18n{done}</paper-button> | 119 on-tap="closeDialog_">$i18n{done}</paper-button> |
| 120 </div> | 120 </div> |
| 121 </dialog> | 121 </dialog> |
| 122 </template> | 122 </template> |
| 123 <script src="import_data_dialog.js"></script> | 123 <script src="import_data_dialog.js"></script> |
| 124 </dom-module> | 124 </dom-module> |
| OLD | NEW |