OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 // destructed. | 262 // destructed. |
263 virtual void ShutDown() = 0; | 263 virtual void ShutDown() = 0; |
264 | 264 |
265 protected: | 265 protected: |
266 virtual ~PlatformAudioInput() {} | 266 virtual ~PlatformAudioInput() {} |
267 }; | 267 }; |
268 | 268 |
269 // Interface for PlatformVideoDecoder is directly inherited from general media | 269 // Interface for PlatformVideoDecoder is directly inherited from general media |
270 // VideoDecodeAccelerator interface. | 270 // VideoDecodeAccelerator interface. |
271 class PlatformVideoDecoder : public media::VideoDecodeAccelerator { | 271 class PlatformVideoDecoder : public media::VideoDecodeAccelerator { |
272 protected: | 272 public: |
273 virtual ~PlatformVideoDecoder() {} | 273 virtual ~PlatformVideoDecoder() {} |
274 }; | 274 }; |
275 | 275 |
276 class PlatformVideoCaptureEventHandler | 276 class PlatformVideoCaptureEventHandler |
277 : public media::VideoCapture::EventHandler { | 277 : public media::VideoCapture::EventHandler { |
278 public: | 278 public: |
279 virtual ~PlatformVideoCaptureEventHandler() {} | 279 virtual ~PlatformVideoCaptureEventHandler() {} |
280 | 280 |
281 virtual void OnInitialized(media::VideoCapture* capture, | 281 virtual void OnInitialized(media::VideoCapture* capture, |
282 bool succeeded) = 0; | 282 bool succeeded) = 0; |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
663 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; | 663 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; |
664 | 664 |
665 // Returns a Device ID | 665 // Returns a Device ID |
666 virtual std::string GetDeviceID() = 0; | 666 virtual std::string GetDeviceID() = 0; |
667 }; | 667 }; |
668 | 668 |
669 } // namespace ppapi | 669 } // namespace ppapi |
670 } // namespace webkit | 670 } // namespace webkit |
671 | 671 |
672 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 672 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
OLD | NEW |