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

Unified Diff: chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html

Issue 2283853002: Disable the MD Clear Browsing Data dialog checkboxes during clearing (Closed)
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html
diff --git a/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html b/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html
index 17856f571ef3539cbb8410825ffcdf9a577d6d87..a3b52c5571db28b45e85b625c6f089368ed20a01 100644
--- a/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html
+++ b/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html
@@ -124,42 +124,50 @@
<settings-checkbox id="browsingCheckbox"
pref="{{prefs.browser.clear_data.browsing_history}}"
label="$i18n{clearBrowsingHistory}"
- sub-label="[[counters_.browsing_history]]">
+ sub-label="[[counters_.browsing_history]]"
+ disabled="[[clearingInProgress_]]">
</settings-checkbox>
<settings-checkbox id="downloadCheckbox"
pref="{{prefs.browser.clear_data.download_history}}"
label="$i18n{clearDownloadHistory}"
- sub-label="[[counters_.download_history]]">
+ sub-label="[[counters_.download_history]]"
+ disabled="[[clearingInProgress_]]">
</settings-checkbox>
<settings-checkbox
pref="{{prefs.browser.clear_data.cache}}"
label="$i18n{clearCache}"
- sub-label="[[counters_.cache]]">
+ sub-label="[[counters_.cache]]"
+ disabled="[[clearingInProgress_]]">
</settings-checkbox>
<settings-checkbox
pref="{{prefs.browser.clear_data.cookies}}"
label="$i18n{clearCookies}"
- sub-label="$i18n{clearCookiesCounter}">
+ sub-label="$i18n{clearCookiesCounter}"
+ disabled="[[clearingInProgress_]]">
</settings-checkbox>
<settings-checkbox
pref="{{prefs.browser.clear_data.passwords}}"
label="$i18n{clearPasswords}"
- sub-label="[[counters_.passwords]]">
+ sub-label="[[counters_.passwords]]"
+ disabled="[[clearingInProgress_]]">
</settings-checkbox>
<settings-checkbox
pref="{{prefs.browser.clear_data.form_data}}"
label="$i18n{clearFormData}"
- sub-label="[[counters_.form_data]]">
+ sub-label="[[counters_.form_data]]"
+ disabled="[[clearingInProgress_]]">
</settings-checkbox>
<settings-checkbox
pref="{{prefs.browser.clear_data.hosted_apps_data}}"
label="$i18n{clearHostedAppData}"
- sub-label="[[counters_.hosted_apps_data]]">
+ sub-label="[[counters_.hosted_apps_data]]"
+ disabled="[[clearingInProgress_]]">
</settings-checkbox>
<settings-checkbox
pref="{{prefs.browser.clear_data.media_licenses}}"
label="$i18n{clearMediaLicenses}"
- sub-label="[[counters_.media_licenses]]">
+ sub-label="[[counters_.media_licenses]]"
+ disabled="[[clearingInProgress_]]">
</settings-checkbox>
</div>
<div class="button-container">
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698