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

Issue 2716353003: [Extensions UI] Initially disabled OK button for extension install prompts. (Closed)

Created:
3 years, 9 months ago by Ackerman
Modified:
3 years, 8 months ago
Reviewers:
Devlin, benwells, meacer
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, extensions-reviews_chromium.org, Avi (use Gerrit)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extensions UI] Initially disabled OK button for extension install prompts and enable them after a 500 ms time period. BUG=394518 Review-Url: https://codereview.chromium.org/2716353003 Cr-Commit-Position: refs/heads/master@{#461933} Committed: https://chromium.googlesource.com/chromium/src/+/303d78445257d1eec726c4ebadb3517cb16c8c09

Patch Set 1 #

Patch Set 2 : Add functions to update and reenable the install button. #

Patch Set 3 : Adding browser test for delaying the enable state of the add extension button. #

Patch Set 4 : Add unit tests for cocoa and making function names consistent. #

Patch Set 5 : Modify the install delay to be configurable for testing purposes. #

Patch Set 6 : Add configurable install delay for cocoa unit testing. #

Patch Set 7 : Fixing grammar in comments. #

Total comments: 18

Patch Set 8 : Removing cocoa changes, which will be done using a separate change. #

Total comments: 12

Patch Set 9 : Addressing Devlin's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -1 line) Patch
M chrome/browser/ui/views/extensions/extension_install_dialog_view.h View 1 2 3 4 5 6 7 8 4 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_install_dialog_view.cc View 1 2 3 4 5 6 7 8 4 chunks +35 lines, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc View 1 2 3 4 5 6 7 8 2 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (14 generated)
Ackerman
3 years, 9 months ago (2017-03-22 22:45:44 UTC) #6
Devlin
Nice! Overall, this looks pretty good. One other comment - when adding multiple reviewers to ...
3 years, 9 months ago (2017-03-23 01:25:30 UTC) #7
Avi (use Gerrit)
https://codereview.chromium.org/2716353003/diff/180001/chrome/browser/ui/cocoa/extensions/extension_install_view_controller.h File chrome/browser/ui/cocoa/extensions/extension_install_view_controller.h (right): https://codereview.chromium.org/2716353003/diff/180001/chrome/browser/ui/cocoa/extensions/extension_install_view_controller.h#newcode87 chrome/browser/ui/cocoa/extensions/extension_install_view_controller.h:87: + (void)setInstallDelayForTesting:(NSTimeInterval)time_delay_in_s; On 2017/03/23 01:25:29, Devlin wrote: > I've ...
3 years, 9 months ago (2017-03-23 02:32:33 UTC) #8
Ackerman
I removed the cocoa changes, since it's going to take a little work to get ...
3 years, 8 months ago (2017-03-31 22:03:22 UTC) #12
Devlin
Nice! https://codereview.chromium.org/2716353003/diff/240001/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc File chrome/browser/ui/views/extensions/extension_install_dialog_view.cc (right): https://codereview.chromium.org/2716353003/diff/240001/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc#newcode615 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc:615: if (is_visible) { We should make this: if ...
3 years, 8 months ago (2017-03-31 22:21:41 UTC) #13
Ackerman
PTAL. https://codereview.chromium.org/2716353003/diff/240001/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc File chrome/browser/ui/views/extensions/extension_install_dialog_view.cc (right): https://codereview.chromium.org/2716353003/diff/240001/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc#newcode615 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc:615: if (is_visible) { On 2017/03/31 22:21:41, Devlin wrote: ...
3 years, 8 months ago (2017-04-01 01:48:37 UTC) #14
Devlin
lgtm; thanks for doing this!
3 years, 8 months ago (2017-04-01 03:01:51 UTC) #15
meacer
Sorry for the delay, non-owner lgtm.
3 years, 8 months ago (2017-04-03 22:49:35 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2716353003/260001
3 years, 8 months ago (2017-04-03 23:52:30 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/401485)
3 years, 8 months ago (2017-04-04 00:03:15 UTC) #20
Ackerman
Ben, as an owner do you mind reviewing?
3 years, 8 months ago (2017-04-04 17:33:30 UTC) #22
benwells
On 2017/04/04 17:33:30, Ackerman wrote: > Ben, as an owner do you mind reviewing? stamp ...
3 years, 8 months ago (2017-04-05 00:43:13 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2716353003/260001
3 years, 8 months ago (2017-04-05 00:45:58 UTC) #25
commit-bot: I haz the power
3 years, 8 months ago (2017-04-05 01:34:15 UTC) #28
Message was sent while issue was closed.
Committed patchset #9 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/303d78445257d1eec726c4ebadb3...

Powered by Google App Engine
This is Rietveld 408576698