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

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

Issue 2565913002: [Onion Soup] Move WebBluetoothImpl from //content/renderer/bluetooth to Blink's bluetooth module (Closed)
Patch Set: renamed BluetoothUUID.typemap to Bluetooth.typemap Created 3 years, 11 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 | « third_party/WebKit/public/platform/modules/bluetooth/WebRequestDeviceOptions.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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 #include "public/web/WebContentSecurityPolicy.h" 65 #include "public/web/WebContentSecurityPolicy.h"
66 #include <v8.h> 66 #include <v8.h>
67 67
68 namespace blink { 68 namespace blink {
69 69
70 enum class WebTreeScopeType; 70 enum class WebTreeScopeType;
71 class InterfaceProvider; 71 class InterfaceProvider;
72 class InterfaceRegistry; 72 class InterfaceRegistry;
73 class WebApplicationCacheHost; 73 class WebApplicationCacheHost;
74 class WebApplicationCacheHostClient; 74 class WebApplicationCacheHostClient;
75 class WebBluetooth;
76 class WebColorChooser; 75 class WebColorChooser;
77 class WebColorChooserClient; 76 class WebColorChooserClient;
78 class WebContentDecryptionModule; 77 class WebContentDecryptionModule;
79 class WebCookieJar; 78 class WebCookieJar;
80 class WebDataSource; 79 class WebDataSource;
81 class WebEncryptedMediaClient; 80 class WebEncryptedMediaClient;
82 class WebExternalPopupMenu; 81 class WebExternalPopupMenu;
83 class WebExternalPopupMenuClient; 82 class WebExternalPopupMenuClient;
84 class WebFileChooserCompletion; 83 class WebFileChooserCompletion;
85 class WebInstalledAppClient; 84 class WebInstalledAppClient;
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 virtual void unregisterProtocolHandler(const WebString& scheme, 718 virtual void unregisterProtocolHandler(const WebString& scheme,
720 const WebURL& url) {} 719 const WebURL& url) {}
721 720
722 // Check if a given URL handler is registered for the given protocol. 721 // Check if a given URL handler is registered for the given protocol.
723 virtual WebCustomHandlersState isProtocolHandlerRegistered( 722 virtual WebCustomHandlersState isProtocolHandlerRegistered(
724 const WebString& scheme, 723 const WebString& scheme,
725 const WebURL& url) { 724 const WebURL& url) {
726 return WebCustomHandlersNew; 725 return WebCustomHandlersNew;
727 } 726 }
728 727
729 // Bluetooth -----------------------------------------------------------
730 virtual WebBluetooth* bluetooth() { return 0; }
731
732 // Audio Output Devices API -------------------------------------------- 728 // Audio Output Devices API --------------------------------------------
733 729
734 // Checks that the given audio sink exists and is authorized. The result is 730 // Checks that the given audio sink exists and is authorized. The result is
735 // provided via the callbacks. This method takes ownership of the callbacks 731 // provided via the callbacks. This method takes ownership of the callbacks
736 // pointer. 732 // pointer.
737 virtual void checkIfAudioSinkExistsAndIsAuthorized( 733 virtual void checkIfAudioSinkExistsAndIsAuthorized(
738 const WebString& sinkId, 734 const WebString& sinkId,
739 const WebSecurityOrigin&, 735 const WebSecurityOrigin&,
740 WebSetSinkIdCallbacks* callbacks) { 736 WebSetSinkIdCallbacks* callbacks) {
741 if (callbacks) { 737 if (callbacks) {
(...skipping 16 matching lines...) Expand all
758 // Overwrites the given URL to use an HTML5 embed if possible. 754 // Overwrites the given URL to use an HTML5 embed if possible.
759 // An empty URL is returned if the URL is not overriden. 755 // An empty URL is returned if the URL is not overriden.
760 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { 756 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) {
761 return WebURL(); 757 return WebURL();
762 } 758 }
763 }; 759 };
764 760
765 } // namespace blink 761 } // namespace blink
766 762
767 #endif 763 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/bluetooth/WebRequestDeviceOptions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698