| Index: media/video/capture/video_capture_device.h
|
| ===================================================================
|
| --- media/video/capture/video_capture_device.h (revision 106642)
|
| +++ media/video/capture/video_capture_device.h (working copy)
|
| @@ -22,7 +22,6 @@
|
|
|
| class MEDIA_EXPORT VideoCaptureDevice {
|
| public:
|
| -
|
| struct Name {
|
| // Friendly name of a device
|
| std::string device_name;
|
| @@ -69,6 +68,8 @@
|
| // Called when VideoCaptureDevice::Allocate has been called
|
| // to inform of the resulting frame size and color format.
|
| virtual void OnFrameInfo(const Capability& info) = 0;
|
| + // Notify handler of state of the device.
|
| + virtual void OnDeviceState(bool in_use) = 0;
|
|
|
| protected:
|
| virtual ~EventHandler() {}
|
|
|