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

Unified Diff: chrome/browser/chromeos/extensions/media_player_api.cc

Issue 12089062: Move API functions registrations out of ExtensionFunctionRegistry. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/extensions/media_player_api.cc
===================================================================
--- chrome/browser/chromeos/extensions/media_player_api.cc (revision 181773)
+++ chrome/browser/chromeos/extensions/media_player_api.cc (working copy)
@@ -18,7 +18,7 @@
namespace extensions {
-bool PlayMediaplayerFunction::RunImpl() {
+bool MediaPlayerPrivatePlayFunction::RunImpl() {
if (args_->GetSize() < 2) {
return false;
}
@@ -60,7 +60,7 @@
return result;
}
-bool GetPlaylistMediaplayerFunction::RunImpl() {
+bool MediaPlayerPrivateGetPlaylistFunction::RunImpl() {
DictionaryValue* result = new DictionaryValue();
MediaPlayer* player = MediaPlayer::GetInstance();
@@ -73,7 +73,7 @@
// TODO(kaznacheev): rename the API method to adjustWindowHeight here and in
// media_player_private.json.
-bool SetWindowHeightMediaplayerFunction::RunImpl() {
+bool MediaPlayerPrivateSetWindowHeightFunction::RunImpl() {
int height_diff;
if (!args_->GetInteger(0, &height_diff))
return false;
@@ -81,7 +81,7 @@
return true;
}
-bool CloseWindowMediaplayerFunction::RunImpl() {
+bool MediaPlayerPrivateCloseWindowFunction::RunImpl() {
MediaPlayer::GetInstance()->CloseWindow();
return true;
}
« no previous file with comments | « chrome/browser/chromeos/extensions/media_player_api.h ('k') | chrome/browser/chromeos/extensions/power/power_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698