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

Side by Side 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, 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
« no previous file with comments | « public/platform/modules/webusb/WebUSBDeviceFilter.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 WebWakeLockClient; 95 class WebWakeLockClient;
95 class WebWorkerContentSettingsClientProxy; 96 class WebWorkerContentSettingsClientProxy;
96 struct WebColorSuggestion; 97 struct WebColorSuggestion;
97 struct WebConsoleMessage; 98 struct WebConsoleMessage;
98 struct WebContextMenuData; 99 struct WebContextMenuData;
99 struct WebPluginParams; 100 struct WebPluginParams;
100 struct WebPopupMenuInfo; 101 struct WebPopupMenuInfo;
101 struct WebRect; 102 struct WebRect;
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 663
663 // Check if a given URL handler is registered for the given protocol. 664 // Check if a given URL handler is registered for the given protocol.
664 virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString& scheme, const WebURL& url) 665 virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString& scheme, const WebURL& url)
665 { 666 {
666 return WebCustomHandlersNew; 667 return WebCustomHandlersNew;
667 } 668 }
668 669
669 // Bluetooth ----------------------------------------------------------- 670 // Bluetooth -----------------------------------------------------------
670 virtual WebBluetooth* bluetooth() { return 0; } 671 virtual WebBluetooth* bluetooth() { return 0; }
671 672
673 // WebUSB --------------------------------------------------------------
674 virtual WebUSBClient* usbClient() { return nullptr; }
675
672 protected: 676 protected:
673 virtual ~WebFrameClient() { } 677 virtual ~WebFrameClient() { }
674 }; 678 };
675 679
676 } // namespace blink 680 } // namespace blink
677 681
678 #endif 682 #endif
OLDNEW
« 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