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

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

Issue 8619007: Revert "Move a bunch of ChromeOS APIs out of chrome/browser/extensions." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
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 #include "chrome/browser/chromeos/extensions/media_player_extension_api.h" 5 #include "chrome/browser/extensions/extension_mediaplayer_private_api.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "chrome/browser/chromeos/media/media_player.h" 8 #include "chrome/browser/chromeos/media/media_player.h"
9 9
10 static const char kPropertyPath[] = "path"; 10 static const char kPropertyPath[] = "path";
11 static const char kPropertyForce[] = "force"; 11 static const char kPropertyForce[] = "force";
12 static const char kPropertyItems[] = "items"; 12 static const char kPropertyItems[] = "items";
13 static const char kPropertyPosition[] = "position"; 13 static const char kPropertyPosition[] = "position";
14 static const char kPropertyError[] = "error"; 14 static const char kPropertyError[] = "error";
15 static const char kPropertyPendingPlaybackRequest[] = 15 static const char kPropertyPendingPlaybackRequest[] =
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 bool TogglePlaylistPanelMediaplayerFunction::RunImpl() { 68 bool TogglePlaylistPanelMediaplayerFunction::RunImpl() {
69 MediaPlayer::GetInstance()->TogglePlaylistWindowVisible(); 69 MediaPlayer::GetInstance()->TogglePlaylistWindowVisible();
70 return true; 70 return true;
71 } 71 }
72 72
73 bool ToggleFullscreenMediaplayerFunction::RunImpl() { 73 bool ToggleFullscreenMediaplayerFunction::RunImpl() {
74 MediaPlayer::GetInstance()->ToggleFullscreen(); 74 MediaPlayer::GetInstance()->ToggleFullscreen();
75 return true; 75 return true;
76 } 76 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_mediaplayer_private_api.h ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698