|
Enable WebUSB through the Experimental Framework.
Adds the APIExperimentEnabled annotation to all of WebUSB's IDL
interfaces. If the Experimental Framework is not enabled (or the
experiment key check fails) this API can still be enabled using the
--experimental-web-platform-features flag.
The USB interface is now always added to the local frame and WebUSB
notifications are enabled for all users (as the assumption is that only
sites with an EF key will actually be producing devices with the
necessary descriptors).
BUG= 492204
Committed: https://crrev.com/5c00cb62536b679d52c3741598d3f08f79e7e32f
Cr-Commit-Position: refs/heads/master@{#386201}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+39 lines, -30 lines) |
Patch |
|
M |
chrome/browser/chrome_browser_main.cc
|
View
|
1
2
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt
|
View
|
1
2
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/webusb/NavigatorUSB.idl
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/webusb/USB.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/webusb/USBAlternateInterface.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/webusb/USBConfiguration.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/webusb/USBConnectionEvent.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/webusb/USBController.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/webusb/USBDevice.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/webusb/USBEndpoint.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/webusb/USBInTransferResult.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/webusb/USBInterface.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/webusb/USBIsochronousInTransferPacket.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/webusb/USBIsochronousInTransferResult.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/webusb/USBIsochronousOutTransferPacket.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/webusb/USBIsochronousOutTransferResult.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/webusb/USBOutTransferResult.idl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
View
|
1
2
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
Total messages: 31 (15 generated)
|