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

Side by Side Diff: chrome/browser/extensions/extension_mediaplayer_private_api.h

Issue 7067020: Moving mediaplayer to the chrome filebrowser. Observable behaviour should not change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolved conflicts. Created 9 years, 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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_EXTENSIONS_EXTENSION_MEDIAPLAYER_PRIVATE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MEDIAPLAYER_PRIVATE_API_H_
7 #pragma once
8
9 #include <map>
10 #include <string>
11 #include <vector>
12
13 #include "chrome/browser/extensions/extension_function.h"
14
15 // Implements the chrome.mediaplayerPrivate.playAt method.
16 class PlayAtMediaplayerFunction
17 : public SyncExtensionFunction {
18 protected:
19 // AsyncExtensionFunction overrides.
20 virtual bool RunImpl() OVERRIDE;
21 DECLARE_EXTENSION_FUNCTION_NAME(
22 "mediaPlayerPrivate.playAt");
23 };
24
25 // Implements the chrome.mediaPlayerPrivate.getCurrentPlaylist method.
26 class GetPlaylistMediaplayerFunction : public SyncExtensionFunction {
27 protected:
28 // AsyncExtensionFunction overrides.
29 virtual bool RunImpl() OVERRIDE;
30 DECLARE_EXTENSION_FUNCTION_NAME("mediaPlayerPrivate.getPlaylist");
31 };
32
33 // Implements the chrome.mediaPlayerPrivate.setPlaybackError method.
34 class SetPlaybackErrorMediaplayerFunction : public SyncExtensionFunction {
35 protected:
36 // AsyncExtensionFunction overrides.
37 virtual bool RunImpl() OVERRIDE;
38 DECLARE_EXTENSION_FUNCTION_NAME("mediaPlayerPrivate.setPlaybackError");
39 };
40
41 // Implements the chrome.mediaPlayerPrivate.togglePlaylist method.
42 class TogglePlaylistPanelMediaplayerFunction : public SyncExtensionFunction {
43 protected:
44 // AsyncExtensionFunction overrides.
45 virtual bool RunImpl() OVERRIDE;
46 DECLARE_EXTENSION_FUNCTION_NAME("mediaPlayerPrivate.togglePlaylistPanel");
47 };
48
49 // Implements the chrome.mediaPlayerPrivate.toggleFullscreen method.
50 class ToggleFullscreenMediaplayerFunction : public SyncExtensionFunction {
51 protected:
52 // AsyncExtensionFunction overrides.
53 virtual bool RunImpl() OVERRIDE;
54 DECLARE_EXTENSION_FUNCTION_NAME("mediaPlayerPrivate.toggleFullscreen");
55 };
56
57 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MEDIAPLAYER_PRIVATE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698