Chromium Code Reviews
DescriptionMD Settings: Fix Reset profile dialog scenario that causes a crash.
1) Disable the "Cancel" button when clearing is in progress. User can still
close though using 'x' or 'esc' key.
2) Stop destroying the dialog once it is closed. This allows the dialog
to be re-shown with the progress spinner visible and action buttons disabled,
if clearing is still in progress when it is re-shown.
This matches exactly the behavior of this dialog in the old Options.
BUG=641291
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/882a6dc0c0299130c7dc91bce0d2ba50c63cbec3
Cr-Commit-Position: refs/heads/master@{#419664}
Patch Set 1 #Patch Set 2 : Fix #Patch Set 3 : Fix more. #
Total comments: 13
Patch Set 4 : Address comments. #
Total comments: 2
Patch Set 5 : Nit #
Messages
Total messages: 24 (12 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||