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

Side by Side Diff: third_party/WebKit/public/platform/Platform.h

Issue 1399623003: bluetooth: Change BluetoothSupplement::from(ScriptState*) to from(LocalFrame*) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Add assert for supplement and changed to use executionContext Created 5 years, 2 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #include "WebWaitableEvent.h" 56 #include "WebWaitableEvent.h"
57 57
58 #include <vector> 58 #include <vector>
59 59
60 class GrContext; 60 class GrContext;
61 61
62 namespace blink { 62 namespace blink {
63 63
64 class WebAudioBus; 64 class WebAudioBus;
65 class WebBlobRegistry; 65 class WebBlobRegistry;
66 class WebBluetooth;
67 class WebClipboard; 66 class WebClipboard;
68 class WebCompositorSupport; 67 class WebCompositorSupport;
69 class WebConvertableToTraceFormat; 68 class WebConvertableToTraceFormat;
70 class WebCookieJar; 69 class WebCookieJar;
71 class WebCrypto; 70 class WebCrypto;
72 class WebDatabaseObserver; 71 class WebDatabaseObserver;
73 class WebDiscardableMemory; 72 class WebDiscardableMemory;
74 class WebPlatformEventListener; 73 class WebPlatformEventListener;
75 class WebFallbackThemeEngine; 74 class WebFallbackThemeEngine;
76 class WebFileSystem; 75 class WebFileSystem;
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 // Web Notifications -------------------------------------------------- 701 // Web Notifications --------------------------------------------------
703 702
704 virtual WebNotificationManager* notificationManager() { return nullptr; } 703 virtual WebNotificationManager* notificationManager() { return nullptr; }
705 704
706 705
707 // Geofencing --------------------------------------------------------- 706 // Geofencing ---------------------------------------------------------
708 707
709 virtual WebGeofencingProvider* geofencingProvider() { return nullptr; } 708 virtual WebGeofencingProvider* geofencingProvider() { return nullptr; }
710 709
711 710
712 // Bluetooth ----------------------------------------------------------
713
714 // Returns pointer to client owned WebBluetooth implementation.
715 virtual WebBluetooth* bluetooth() { return nullptr; }
716
717
718 // Push API------------------------------------------------------------ 711 // Push API------------------------------------------------------------
719 712
720 virtual WebPushProvider* pushProvider() { return nullptr; } 713 virtual WebPushProvider* pushProvider() { return nullptr; }
721 714
722 715
723 // navigator.connect -------------------------------------------------- 716 // navigator.connect --------------------------------------------------
724 717
725 virtual WebNavigatorConnectProvider* navigatorConnectProvider() { return nul lptr; } 718 virtual WebNavigatorConnectProvider* navigatorConnectProvider() { return nul lptr; }
726 719
727 // Returns pointer to a new blink owned WebServicePortProvider instance, 720 // Returns pointer to a new blink owned WebServicePortProvider instance,
(...skipping 13 matching lines...) Expand all
741 protected: 734 protected:
742 BLINK_PLATFORM_EXPORT Platform(); 735 BLINK_PLATFORM_EXPORT Platform();
743 virtual ~Platform() { } 736 virtual ~Platform() { }
744 737
745 WebThread* m_mainThread; 738 WebThread* m_mainThread;
746 }; 739 };
747 740
748 } // namespace blink 741 } // namespace blink
749 742
750 #endif 743 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698