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

Side by Side Diff: ash/common/media_delegate.h

Issue 2048443002: ABANDONED: mash: Move shell delegate interfaces to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveshelfmodel
Patch Set: Created 4 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 ASH_MEDIA_DELEGATE_H_ 5 #ifndef ASH_COMMON_MEDIA_DELEGATE_H_
6 #define ASH_MEDIA_DELEGATE_H_ 6 #define ASH_COMMON_MEDIA_DELEGATE_H_
7 7
8 #include "ash/session/session_types.h" 8 #include "ash/common/session/session_types.h"
9 9
10 namespace content { 10 namespace content {
11 class BrowserContext; 11 class BrowserContext;
12 } 12 }
13 13
14 namespace ash { 14 namespace ash {
15 15
16 enum MediaCaptureState { 16 enum MediaCaptureState {
17 MEDIA_CAPTURE_NONE = 0, 17 MEDIA_CAPTURE_NONE = 0,
18 MEDIA_CAPTURE_AUDIO = 1 << 0, 18 MEDIA_CAPTURE_AUDIO = 1 << 0,
(...skipping 15 matching lines...) Expand all
34 // Handles the Previous Track Media shortcut key. 34 // Handles the Previous Track Media shortcut key.
35 virtual void HandleMediaPrevTrack() = 0; 35 virtual void HandleMediaPrevTrack() = 0;
36 36
37 // Returns the current media recording state of web contents that belongs to 37 // Returns the current media recording state of web contents that belongs to
38 // the the user @ |index|. See session_types.h for a description of UserIndex. 38 // the the user @ |index|. See session_types.h for a description of UserIndex.
39 virtual MediaCaptureState GetMediaCaptureState(UserIndex index) = 0; 39 virtual MediaCaptureState GetMediaCaptureState(UserIndex index) = 0;
40 }; 40 };
41 41
42 } // namespace ash 42 } // namespace ash
43 43
44 #endif // ASH_MEDIA_DELEGATE_H_ 44 #endif // ASH_COMMON_MEDIA_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698