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

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

Issue 1228283003: Attach a WebBluetooth to the LocalFrame and use it if it's available. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@error-enum-cleanup
Patch Set: Always use BluetoothSupplement to get the WebBluetooth instance. 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
« no previous file with comments | « public/platform/modules/bluetooth/WebBluetoothError.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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #include "public/platform/WebURLError.h" 53 #include "public/platform/WebURLError.h"
54 #include "public/platform/WebURLRequest.h" 54 #include "public/platform/WebURLRequest.h"
55 #include <v8.h> 55 #include <v8.h>
56 56
57 namespace blink { 57 namespace blink {
58 58
59 enum class WebTreeScopeType; 59 enum class WebTreeScopeType;
60 class WebApplicationCacheHost; 60 class WebApplicationCacheHost;
61 class WebApplicationCacheHostClient; 61 class WebApplicationCacheHostClient;
62 class WebAppBannerClient; 62 class WebAppBannerClient;
63 class WebBluetooth;
63 class WebCachedURLRequest; 64 class WebCachedURLRequest;
64 class WebColorChooser; 65 class WebColorChooser;
65 class WebColorChooserClient; 66 class WebColorChooserClient;
66 class WebContentDecryptionModule; 67 class WebContentDecryptionModule;
67 class WebCookieJar; 68 class WebCookieJar;
68 class WebDataSource; 69 class WebDataSource;
69 class WebEncryptedMediaClient; 70 class WebEncryptedMediaClient;
70 class WebExternalPopupMenu; 71 class WebExternalPopupMenu;
71 class WebExternalPopupMenuClient; 72 class WebExternalPopupMenuClient;
72 class WebFormElement; 73 class WebFormElement;
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 663
663 // Unregisters a given URL handler for the given protocol. 664 // Unregisters a given URL handler for the given protocol.
664 virtual void unregisterProtocolHandler(const WebString& scheme, const WebURL & url) { } 665 virtual void unregisterProtocolHandler(const WebString& scheme, const WebURL & url) { }
665 666
666 // Check if a given URL handler is registered for the given protocol. 667 // Check if a given URL handler is registered for the given protocol.
667 virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString& scheme, const WebURL& url) 668 virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString& scheme, const WebURL& url)
668 { 669 {
669 return WebCustomHandlersNew; 670 return WebCustomHandlersNew;
670 } 671 }
671 672
673 // Bluetooth -----------------------------------------------------------
674 virtual WebBluetooth* bluetooth() { return 0; }
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/bluetooth/WebBluetoothError.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698