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

Unified Diff: public/web/WebFrameClient.h

Issue 1262163003: Add WebUSB bindings and client interface [part 1] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Handle null navigator.frame() without ASSERT Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/platform/modules/webusb/WebUSBDeviceFilter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index 0092a6c805fe84904a4bb3bc876c9317f57b300c..ce2106a8a91a53befc6f9927e1d9ba20a6508cde 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -89,6 +89,7 @@ class WebScreenOrientationClient;
class WebString;
class WebURL;
class WebURLResponse;
+class WebUSBClient;
class WebUserMediaClient;
class WebVRClient;
class WebWakeLockClient;
@@ -669,6 +670,9 @@ public:
// Bluetooth -----------------------------------------------------------
virtual WebBluetooth* bluetooth() { return 0; }
+ // WebUSB --------------------------------------------------------------
+ virtual WebUSBClient* usbClient() { return nullptr; }
+
protected:
virtual ~WebFrameClient() { }
};
« no previous file with comments | « public/platform/modules/webusb/WebUSBDeviceFilter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698