|
Prompt for granting permission to access USB devices.
extensions::DevicePermissionsPrompt may be implemented by an embedder
of the extensions system to provide a way to prompt the user for
permission to access a set of USB devices. This is expandable to other
device types. Implementations for Chrome using the Views framework
(for Chrome OS, Linux and Windows) and Cocoa (for OS X) are provided
in this change.
Screenshots are attached to bug 420317.
BUG= 352720, 420317
Committed: https://crrev.com/43a9462cd259b1a3c6cc961b28518ba6aac261e9
Cr-Commit-Position: refs/heads/master@{#299983}
Total comments: 35
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1676 lines, -6 lines) |
Patch |
|
M |
chrome/app/generated_resources.grd
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/app/nibs/DevicePermissionsPrompt.xib
|
View
|
1
2
3
|
1 chunk |
+791 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/cocoa/extensions/device_permissions_dialog_controller.h
|
View
|
1
2
3
4
5
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/cocoa/extensions/device_permissions_dialog_controller.mm
|
View
|
1
2
3
4
5
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/cocoa/extensions/device_permissions_view_controller.h
|
View
|
1
2
3
4
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/cocoa/extensions/device_permissions_view_controller.mm
|
View
|
1
2
3
4
5
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/views/extensions/device_permissions_dialog_view.h
|
View
|
1
2
3
4
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/views/extensions/device_permissions_dialog_view.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+180 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_nibs.gyp
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_nibs.gypi
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A + |
extensions/browser/api/DEPS
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A |
extensions/browser/api/device_permissions_prompt.h
|
View
|
1
2
3
4
5
|
1 chunk |
+157 lines, -0 lines |
0 comments
|
Download
|
|
A |
extensions/browser/api/device_permissions_prompt.cc
|
View
|
1
2
3
|
1 chunk |
+199 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/browser/api/extensions_api_client.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/browser/api/hid/DEPS
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
D |
extensions/browser/api/usb/DEPS
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
D |
extensions/browser/api/usb_private/DEPS
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
extensions/extensions.gyp
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/extensions_strings.grd
|
View
|
1
2
3
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
Total messages: 13 (3 generated)
|