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

Side by Side Diff: public/web/WebFrameClient.h

Issue 1245363002: Add WebUSB bindings and client interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 class WebSocketHandle; 82 class WebSocketHandle;
83 class WebPlugin; 83 class WebPlugin;
84 class WebPluginPlaceholder; 84 class WebPluginPlaceholder;
85 class WebPresentationClient; 85 class WebPresentationClient;
86 class WebPushClient; 86 class WebPushClient;
87 class WebRTCPeerConnectionHandler; 87 class WebRTCPeerConnectionHandler;
88 class WebScreenOrientationClient; 88 class WebScreenOrientationClient;
89 class WebString; 89 class WebString;
90 class WebURL; 90 class WebURL;
91 class WebURLResponse; 91 class WebURLResponse;
92 class WebUSBClient;
92 class WebUserMediaClient; 93 class WebUserMediaClient;
93 class WebVRClient; 94 class WebVRClient;
94 class WebWorkerContentSettingsClientProxy; 95 class WebWorkerContentSettingsClientProxy;
95 struct WebColorSuggestion; 96 struct WebColorSuggestion;
96 struct WebConsoleMessage; 97 struct WebConsoleMessage;
97 struct WebContextMenuData; 98 struct WebContextMenuData;
98 struct WebPluginParams; 99 struct WebPluginParams;
99 struct WebPopupMenuInfo; 100 struct WebPopupMenuInfo;
100 struct WebRect; 101 struct WebRect;
101 struct WebURLError; 102 struct WebURLError;
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 665
665 // Check if a given URL handler is registered for the given protocol. 666 // Check if a given URL handler is registered for the given protocol.
666 virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString& scheme, const WebURL& url) 667 virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString& scheme, const WebURL& url)
667 { 668 {
668 return WebCustomHandlersNew; 669 return WebCustomHandlersNew;
669 } 670 }
670 671
671 // Bluetooth ----------------------------------------------------------- 672 // Bluetooth -----------------------------------------------------------
672 virtual WebBluetooth* bluetooth() { return 0; } 673 virtual WebBluetooth* bluetooth() { return 0; }
673 674
675 // WebUSB --------------------------------------------------------------
676 virtual WebUSBClient* usbClient() { return 0; }
677
674 protected: 678 protected:
675 virtual ~WebFrameClient() { } 679 virtual ~WebFrameClient() { }
676 }; 680 };
677 681
678 } // namespace blink 682 } // namespace blink
679 683
680 #endif 684 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698