OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_EXTENSION_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MEDIAPLAYER_PRIVATE_API_H_ |
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_EXTENSION_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MEDIAPLAYER_PRIVATE_API_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "chrome/browser/extensions/extension_function.h" | 13 #include "chrome/browser/extensions/extension_function.h" |
14 | 14 |
15 // Implements the chrome.mediaplayerPrivate.playAt method. | 15 // Implements the chrome.mediaplayerPrivate.playAt method. |
16 class PlayAtMediaplayerFunction | 16 class PlayAtMediaplayerFunction |
(...skipping 30 matching lines...) Expand all Loading... |
47 }; | 47 }; |
48 | 48 |
49 // Implements the chrome.mediaPlayerPrivate.toggleFullscreen method. | 49 // Implements the chrome.mediaPlayerPrivate.toggleFullscreen method. |
50 class ToggleFullscreenMediaplayerFunction : public SyncExtensionFunction { | 50 class ToggleFullscreenMediaplayerFunction : public SyncExtensionFunction { |
51 protected: | 51 protected: |
52 // AsyncExtensionFunction overrides. | 52 // AsyncExtensionFunction overrides. |
53 virtual bool RunImpl() OVERRIDE; | 53 virtual bool RunImpl() OVERRIDE; |
54 DECLARE_EXTENSION_FUNCTION_NAME("mediaPlayerPrivate.toggleFullscreen"); | 54 DECLARE_EXTENSION_FUNCTION_NAME("mediaPlayerPrivate.toggleFullscreen"); |
55 }; | 55 }; |
56 | 56 |
57 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_EXTENSION_API_H_ | 57 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MEDIAPLAYER_PRIVATE_API_H_ |
OLD | NEW |