Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Side by Side Diff: chrome/browser/ui/ash/media_delegate_chromeos.h

Issue 2307083002: Cleanup: move WebRTC related files from chrome/browser/media to chrome/browser/media/webrtc/ (Closed)
Patch Set: Removed file wrongly resuscitated during rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 CHROME_BROWSER_UI_ASH_MEDIA_DELEGATE_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_MEDIA_DELEGATE_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_ASH_MEDIA_DELEGATE_CHROMEOS_H_ 6 #define CHROME_BROWSER_UI_ASH_MEDIA_DELEGATE_CHROMEOS_H_
7 7
8 #include "ash/common/media_delegate.h" 8 #include "ash/common/media_delegate.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "chrome/browser/media/media_capture_devices_dispatcher.h" 11 #include "chrome/browser/media/webrtc/media_capture_devices_dispatcher.h"
12 12
13 class MediaDelegateChromeOS : public ash::MediaDelegate, 13 class MediaDelegateChromeOS : public ash::MediaDelegate,
14 MediaCaptureDevicesDispatcher::Observer { 14 MediaCaptureDevicesDispatcher::Observer {
15 public: 15 public:
16 MediaDelegateChromeOS(); 16 MediaDelegateChromeOS();
17 ~MediaDelegateChromeOS() override; 17 ~MediaDelegateChromeOS() override;
18 18
19 // ash::MediaDelegate: 19 // ash::MediaDelegate:
20 void HandleMediaNextTrack() override; 20 void HandleMediaNextTrack() override;
21 void HandleMediaPlayPause() override; 21 void HandleMediaPlayPause() override;
22 void HandleMediaPrevTrack() override; 22 void HandleMediaPrevTrack() override;
23 ash::MediaCaptureState GetMediaCaptureState(ash::UserIndex index) override; 23 ash::MediaCaptureState GetMediaCaptureState(ash::UserIndex index) override;
24 24
25 // MediaCaptureDevicesDispatcher::Observer: 25 // MediaCaptureDevicesDispatcher::Observer:
26 void OnRequestUpdate(int render_process_id, 26 void OnRequestUpdate(int render_process_id,
27 int render_frame_id, 27 int render_frame_id,
28 content::MediaStreamType stream_type, 28 content::MediaStreamType stream_type,
29 const content::MediaRequestState state) override; 29 const content::MediaRequestState state) override;
30 30
31 private: 31 private:
32 void NotifyMediaCaptureChange(); 32 void NotifyMediaCaptureChange();
33 33
34 base::WeakPtrFactory<MediaDelegateChromeOS> weak_ptr_factory_; 34 base::WeakPtrFactory<MediaDelegateChromeOS> weak_ptr_factory_;
35 35
36 DISALLOW_COPY_AND_ASSIGN(MediaDelegateChromeOS); 36 DISALLOW_COPY_AND_ASSIGN(MediaDelegateChromeOS);
37 }; 37 };
38 38
39 #endif // CHROME_BROWSER_UI_ASH_MEDIA_DELEGATE_CHROMEOS_H_ 39 #endif // CHROME_BROWSER_UI_ASH_MEDIA_DELEGATE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/chrome_keyboard_ui.cc ('k') | chrome/browser/ui/ash/media_delegate_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698