OLD | NEW |
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 WebBluetooth; |
65 class WebClipboard; | 65 class WebClipboard; |
66 class WebCompositorSupport; | 66 class WebCompositorSupport; |
67 class WebConvertableToTraceFormat; | 67 class WebConvertableToTraceFormat; |
68 class WebCookieJar; | 68 class WebCookieJar; |
| 69 class WebCreateDataPipeOptions; |
69 class WebCrypto; | 70 class WebCrypto; |
| 71 class WebDataConsumerHandle; |
| 72 class WebDataProducerHandle; |
70 class WebDatabaseObserver; | 73 class WebDatabaseObserver; |
71 class WebDiscardableMemory; | 74 class WebDiscardableMemory; |
72 class WebPlatformEventListener; | 75 class WebPlatformEventListener; |
73 class WebFallbackThemeEngine; | 76 class WebFallbackThemeEngine; |
74 class WebFileSystem; | 77 class WebFileSystem; |
75 class WebFileUtilities; | 78 class WebFileUtilities; |
76 class WebFlingAnimator; | 79 class WebFlingAnimator; |
77 class WebGeofencingProvider; | 80 class WebGeofencingProvider; |
78 class WebGestureCurve; | 81 class WebGestureCurve; |
79 class WebGraphicsContext3DProvider; | 82 class WebGraphicsContext3DProvider; |
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
645 | 648 |
646 // Push API------------------------------------------------------------ | 649 // Push API------------------------------------------------------------ |
647 | 650 |
648 virtual WebPushProvider* pushProvider() { return 0; } | 651 virtual WebPushProvider* pushProvider() { return 0; } |
649 | 652 |
650 | 653 |
651 // navigator.connect -------------------------------------------------- | 654 // navigator.connect -------------------------------------------------- |
652 | 655 |
653 virtual WebNavigatorConnectProvider* navigatorConnectProvider() { return 0;
} | 656 virtual WebNavigatorConnectProvider* navigatorConnectProvider() { return 0;
} |
654 | 657 |
| 658 // |options| can be null. The default option is used in such a case. |
| 659 // Creates a producer handle and a consumer handle, and stores them into |
| 660 // the output parameters. Returns true when the operation succeeds. |
| 661 virtual bool createDataPipe(const WebCreateDataPipeOptions* /* options */, W
ebDataProducerHandle**, WebDataConsumerHandle**) { return false; } |
| 662 |
655 protected: | 663 protected: |
656 virtual ~Platform() { } | 664 virtual ~Platform() { } |
657 }; | 665 }; |
658 | 666 |
659 } // namespace blink | 667 } // namespace blink |
660 | 668 |
661 #endif | 669 #endif |
OLD | NEW |