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

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: cleanup, better error reporting Created 5 years, 4 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 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 659
659 // Check if a given URL handler is registered for the given protocol. 660 // Check if a given URL handler is registered for the given protocol.
660 virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString& scheme, const WebURL& url) 661 virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString& scheme, const WebURL& url)
661 { 662 {
662 return WebCustomHandlersNew; 663 return WebCustomHandlersNew;
663 } 664 }
664 665
665 // Bluetooth ----------------------------------------------------------- 666 // Bluetooth -----------------------------------------------------------
666 virtual WebBluetooth* bluetooth() { return 0; } 667 virtual WebBluetooth* bluetooth() { return 0; }
667 668
669 // WebUSB --------------------------------------------------------------
670 virtual WebUSBClient* usbClient() { return 0; }
671
668 protected: 672 protected:
669 virtual ~WebFrameClient() { } 673 virtual ~WebFrameClient() { }
670 }; 674 };
671 675
672 } // namespace blink 676 } // namespace blink
673 677
674 #endif 678 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698