Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Side by Side Diff: chrome/browser/resources/settings/people_page/import_data_dialog.html

Issue 2769383002: Firefox overlay is seen opened even if Import Overlay is Cancelled.
Patch Set: Firefox overlay is seen opened even if Import Overlay is Cancelled. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/html/web_ui_listener_behavior.html"> 5 <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"> 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/paper-button/paper-butt on.html"> 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-spinner/paper-spi nner.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi nner.html">
9 <link rel="import" href="../controls/settings_checkbox.html"> 9 <link rel="import" href="../controls/settings_checkbox.html">
10 <link rel="import" href="../controls/settings_toggle_button.html"> 10 <link rel="import" href="../controls/settings_toggle_button.html">
(...skipping 16 matching lines...) Expand all
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" close-text="$i18n{close}" ignore-popstate > 37 <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}"
38 on-close="closeDialog_" ignore-popstate>
Srirama 2017/03/24 09:33:03 nit: give indentation
nikhil.sahni 2017/03/24 13:26:06 Done.
38 <div class="title">$i18n{importTitle}</div> 39 <div class="title">$i18n{importTitle}</div>
39 <div class="body"> 40 <div class="body">
40 <div hidden$="[[!hasImportStatus_( 41 <div hidden$="[[!hasImportStatus_(
41 importStatusEnum_.SUCCEEDED, importStatus_)]]"> 42 importStatusEnum_.SUCCEEDED, importStatus_)]]">
42 <iron-icon id="successIcon" icon="settings:check-circle"> 43 <iron-icon id="successIcon" icon="settings:check-circle">
43 </iron-icon> 44 </iron-icon>
44 <div hidden$="[[!prefs.import_dialog_bookmarks.value]]"> 45 <div hidden$="[[!prefs.import_dialog_bookmarks.value]]">
45 <div class="description">$i18n{importSuccess}</div> 46 <div class="description">$i18n{importSuccess}</div>
46 <settings-toggle-button class="start" 47 <settings-toggle-button class="start"
47 label="$i18n{showBookmarksBar}" 48 label="$i18n{showBookmarksBar}"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 116
116 <paper-button id="done" class="action-button" 117 <paper-button id="done" class="action-button"
117 hidden$="[[!hasImportStatus_( 118 hidden$="[[!hasImportStatus_(
118 importStatusEnum_.SUCCEEDED, importStatus_)]]" 119 importStatusEnum_.SUCCEEDED, importStatus_)]]"
119 on-tap="closeDialog_">$i18n{done}</paper-button> 120 on-tap="closeDialog_">$i18n{done}</paper-button>
120 </div> 121 </div>
121 </dialog> 122 </dialog>
122 </template> 123 </template>
123 <script src="import_data_dialog.js"></script> 124 <script src="import_data_dialog.js"></script>
124 </dom-module> 125 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698