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

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

Issue 650613005: bluetooth: Initial WebBluetooth & WebBluetoothError. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Abandoned initial approach implementing BluetoothMock in Blink. Created 6 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 | Annotate | Revision Log
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "WebString.h" 54 #include "WebString.h"
55 #include "WebURLError.h" 55 #include "WebURLError.h"
56 #include "WebVector.h" 56 #include "WebVector.h"
57 57
58 class GrContext; 58 class GrContext;
59 59
60 namespace blink { 60 namespace blink {
61 61
62 class WebAudioBus; 62 class WebAudioBus;
63 class WebBlobRegistry; 63 class WebBlobRegistry;
64 class WebBluetooth;
64 class WebContentDecryptionModule; 65 class WebContentDecryptionModule;
65 class WebClipboard; 66 class WebClipboard;
66 class WebCompositorSupport; 67 class WebCompositorSupport;
67 class WebConvertableToTraceFormat; 68 class WebConvertableToTraceFormat;
68 class WebCookieJar; 69 class WebCookieJar;
69 class WebCrypto; 70 class WebCrypto;
70 class WebDatabaseObserver; 71 class WebDatabaseObserver;
71 class WebDiscardableMemory; 72 class WebDiscardableMemory;
72 class WebPlatformEventListener; 73 class WebPlatformEventListener;
73 class WebFallbackThemeEngine; 74 class WebFallbackThemeEngine;
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 633
633 // Web Notifications -------------------------------------------------- 634 // Web Notifications --------------------------------------------------
634 635
635 virtual WebNotificationPresenter* notificationPresenter() { return 0; } 636 virtual WebNotificationPresenter* notificationPresenter() { return 0; }
636 637
637 638
638 // Geofencing --------------------------------------------------------- 639 // Geofencing ---------------------------------------------------------
639 640
640 virtual WebGeofencingProvider* geofencingProvider() { return 0; } 641 virtual WebGeofencingProvider* geofencingProvider() { return 0; }
641 642
643 // Bluetooth ----------------------------------------------------------
644
645 // Returns pointer to client owned WebBluetooth implementation.
646 virtual WebBluetooth* bluetooth() { return 0; }
yhirano 2014/10/20 10:42:45 Using nullptr is fine.
647
642 protected: 648 protected:
643 virtual ~Platform() { } 649 virtual ~Platform() { }
644 }; 650 };
645 651
646 } // namespace blink 652 } // namespace blink
647 653
648 #endif 654 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698