Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / content / renderer / media / video_capture_message_filter.h
index ed03f8c..215214d 100644 (file)
@@ -45,6 +45,10 @@ class CONTENT_EXPORT VideoCaptureMessageFilter
     virtual void OnDeviceSupportedFormatsEnumerated(
         const media::VideoCaptureFormats& supported_formats) = 0;
 
+    // Called upon reception of format(s) in use by a device back from browser.
+    virtual void OnDeviceFormatsInUseReceived(
+        const media::VideoCaptureFormats& formats_in_use) = 0;
+
     // Called when the delegate has been added to filter's delegate list.
     // |device_id| is the device id for the delegate.
     virtual void OnDelegateAdded(int32 device_id) = 0;
@@ -100,6 +104,11 @@ class CONTENT_EXPORT VideoCaptureMessageFilter
       int device_id,
       const media::VideoCaptureFormats& supported_formats);
 
+  // Receive the formats in-use by a device back from browser process.
+  void OnDeviceFormatsInUseReceived(
+      int device_id,
+      const media::VideoCaptureFormats& formats_in_use);
+
   // Finds the delegate associated with |device_id|, NULL if not found.
   Delegate* find_delegate(int device_id) const;