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

Issue 2390823005: Update device permissions dialog ui for Chrome apps and extensions (Closed)

Created:
4 years, 2 months ago by juncai
Modified:
4 years ago
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update device permissions dialog ui for Chrome apps and extensions This CL is part 2 of changing Chrome Apps device permissions dialog using the same chooser dialog as WebUSB and WebBluetooth. I uploaded some screenshots on the issue page. BUG=652445, 653228 Committed: https://crrev.com/43003629cf2cca816884c226f18d32bc96236bb5 Cr-Commit-Position: refs/heads/master@{#435075}

Patch Set 1 : updated device permissions dialog ui for Chrome apps and extensions #

Patch Set 2 : merge master #

Patch Set 3 : modified chooser_content_view_cocoa.mm #

Patch Set 4 : clean up code #

Total comments: 4

Patch Set 5 : merge master #

Patch Set 6 : merge master #

Patch Set 7 : address comments #

Total comments: 6

Patch Set 8 : address more comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+318 lines, -838 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/app/nibs/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
D chrome/app/nibs/DevicePermissionsPrompt.xib View 1 chunk +0 lines, -158 lines 0 comments Download
M chrome/browser/chooser_controller/chooser_controller.h View 1 2 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chooser_controller/chooser_controller.cc View 1 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/extensions/device_permissions_dialog_controller.h View 1 2 3 4 5 6 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/extensions/device_permissions_dialog_controller.cc View 1 2 3 4 5 6 1 chunk +101 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm View 1 2 3 4 5 6 7 4 chunks +70 lines, -57 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa.mm View 1 2 3 4 5 6 7 2 chunks +16 lines, -0 lines 0 comments Download
D chrome/browser/ui/cocoa/extensions/device_permissions_dialog_controller.h View 1 chunk +0 lines, -45 lines 0 comments Download
D chrome/browser/ui/cocoa/extensions/device_permissions_dialog_controller.mm View 1 chunk +0 lines, -72 lines 0 comments Download
D chrome/browser/ui/cocoa/extensions/device_permissions_view_controller.h View 1 chunk +0 lines, -43 lines 0 comments Download
D chrome/browser/ui/cocoa/extensions/device_permissions_view_controller.mm View 1 chunk +0 lines, -85 lines 0 comments Download
M chrome/browser/ui/views/chooser_content_view.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/chooser_content_view.cc View 1 2 3 4 5 6 7 5 chunks +14 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/extensions/chooser_dialog_view.cc View 1 2 3 4 5 6 7 2 chunks +14 lines, -0 lines 0 comments Download
D chrome/browser/ui/views/extensions/device_permissions_dialog_view.h View 1 chunk +0 lines, -47 lines 0 comments Download
D chrome/browser/ui/views/extensions/device_permissions_dialog_view.cc View 1 chunk +0 lines, -187 lines 0 comments Download
M extensions/browser/BUILD.gn View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M extensions/browser/api/device_permissions_prompt.h View 1 2 3 4 5 6 2 chunks +4 lines, -3 lines 0 comments Download
M extensions/browser/api/device_permissions_prompt.cc View 1 2 3 4 5 6 7 chunks +11 lines, -26 lines 0 comments Download
D extensions/browser/api/device_permissions_prompt_unittest.cc View 1 2 3 1 chunk +0 lines, -79 lines 0 comments Download
M extensions/browser/api/hid/hid_apitest.cc View 1 2 3 4 5 6 1 chunk +11 lines, -1 line 0 comments Download
M extensions/browser/api/usb/usb_apitest.cc View 1 2 3 4 5 6 1 chunk +11 lines, -1 line 0 comments Download
M extensions/strings/extensions_strings.grd View 1 2 3 1 chunk +5 lines, -15 lines 0 comments Download

Messages

Total messages: 50 (38 generated)
juncai
Please take a look.
4 years ago (2016-11-23 00:36:06 UTC) #17
Reilly Grant (use Gerrit)
As discussed offline we can get rid of the dedicated serial number column but need ...
4 years ago (2016-11-23 02:07:48 UTC) #20
juncai
Added code to also display device serial number when devices have the same name. https://codereview.chromium.org/2390823005/diff/60001/extensions/browser/api/device_permissions_prompt.cc ...
4 years ago (2016-11-23 22:43:48 UTC) #29
juncai
sky@chromium.org: Please review changes in //chrome/browser/ui/views rsesek@chromium.org: Please review changes in //chrome/app/nibs //chrome/browser/ui/cocoa
4 years ago (2016-11-28 18:47:50 UTC) #33
Reilly Grant (use Gerrit)
lgtm
4 years ago (2016-11-28 20:04:28 UTC) #34
Robert Sesek
LGTM w/ a question https://codereview.chromium.org/2390823005/diff/120001/chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm File chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm (right): https://codereview.chromium.org/2390823005/diff/120001/chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm#newcode455 chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm:455: helpButton_ = Should you create ...
4 years ago (2016-11-28 22:20:49 UTC) #35
sky
https://codereview.chromium.org/2390823005/diff/120001/chrome/browser/ui/views/chooser_content_view.cc File chrome/browser/ui/views/chooser_content_view.cc (right): https://codereview.chromium.org/2390823005/diff/120001/chrome/browser/ui/views/chooser_content_view.cc#newcode288 chrome/browser/ui/views/chooser_content_view.cc:288: if (chooser_controller_->ShouldShowFootnoteView()) Can ShouldShowFootnoteView change value? Assuming it can't ...
4 years ago (2016-11-28 23:13:21 UTC) #36
juncai
https://codereview.chromium.org/2390823005/diff/120001/chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm File chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm (right): https://codereview.chromium.org/2390823005/diff/120001/chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm#newcode455 chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm:455: helpButton_ = On 2016/11/28 22:20:49, Robert Sesek wrote: > ...
4 years ago (2016-11-29 18:10:08 UTC) #39
sky
LGTM
4 years ago (2016-11-29 20:13:17 UTC) #42
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/2390823005/140001
4 years ago (2016-11-29 20:33:55 UTC) #45
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years ago (2016-11-29 20:43:55 UTC) #48
commit-bot: I haz the power
4 years ago (2016-11-29 20:48:30 UTC) #50
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/43003629cf2cca816884c226f18d32bc96236bb5
Cr-Commit-Position: refs/heads/master@{#435075}

Powered by Google App Engine
This is Rietveld 408576698