Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_ASH_MEDIA_DELEGATE_CHROMEOS_H_ | |
| 6 #define CHROME_BROWSER_UI_ASH_MEDIA_DELEGATE_CHROMEOS_H_ | |
| 7 | |
| 8 #include "ash/media_delegate.h" | |
| 9 #include "chrome/browser/media/media_capture_devices_dispatcher.h" | |
| 10 | |
| 11 class MediaDelegateChromeOS : public ash::MediaDelegate, | |
| 12 MediaCaptureDevicesDispatcher::Observer { | |
| 13 public: | |
| 14 MediaDelegateChromeOS(); | |
| 15 virtual ~MediaDelegateChromeOS(); | |
| 16 | |
| 17 // ash::MediaDelegate: | |
|
Mr4D (OOO till 08-26)
2014/04/30 18:24:36
.. overrides:
oshima
2014/04/30 20:40:31
ditto.
| |
| 18 virtual void HandleMediaNextTrack() OVERRIDE; | |
| 19 virtual void HandleMediaPlayPause() OVERRIDE; | |
| 20 virtual void HandleMediaPrevTrack() OVERRIDE; | |
| 21 virtual ash::MediaCaptureState GetBackgroundMediaCaptureState( | |
| 22 content::BrowserContext* context) OVERRIDE; | |
| 23 | |
| 24 // MediaCaptureDevicesDispatcher::Observer: | |
|
Mr4D (OOO till 08-26)
2014/04/30 18:24:36
.. overrides:
oshima
2014/04/30 20:40:31
ditto
| |
| 25 virtual void OnRequestUpdate(int render_process_id, | |
| 26 int render_view_id, | |
| 27 const content::MediaStreamDevice& device, | |
| 28 const content::MediaRequestState state) OVERRIDE; | |
| 29 | |
| 30 private: | |
| 31 DISALLOW_COPY_AND_ASSIGN(MediaDelegateChromeOS); | |
| 32 }; | |
| 33 | |
| 34 #endif // CHROME_BROWSER_UI_ASH_MEDIA_DELEGATE_CHROMEOS_H_ | |
| OLD | NEW |