diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 19:52:44 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 19:52:44 +0000 |
commit | e626d7f115a1319421d1e2d5da85b6f0bd66877f (patch) | |
tree | cd6c50923fbb063c1980315c2db5447fbfee0086 /webkit/glue/context_menu.h | |
parent | f1f188943ba5fd66cc54c813d9ed27596a7b29e9 (diff) | |
download | chromium_src-e626d7f115a1319421d1e2d5da85b6f0bd66877f.zip chromium_src-e626d7f115a1319421d1e2d5da85b6f0bd66877f.tar.gz chromium_src-e626d7f115a1319421d1e2d5da85b6f0bd66877f.tar.bz2 |
Remove Playback Rate from the context menu.
This feature is better implemented as an extension rather than being put into
the absolute-core UI.
Review URL: http://codereview.chromium.org/164301
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/context_menu.h')
-rw-r--r-- | webkit/glue/context_menu.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/webkit/glue/context_menu.h b/webkit/glue/context_menu.h index 620338a..975ad275 100644 --- a/webkit/glue/context_menu.h +++ b/webkit/glue/context_menu.h @@ -82,11 +82,8 @@ struct ContextMenuMediaParams { // playing, muted, etc. int32 player_state; - // The current playback rate for this media element. - double playback_rate; - ContextMenuMediaParams() - : player_state(NO_STATE), playback_rate(1.0f) { + : player_state(NO_STATE) { } }; @@ -166,19 +163,14 @@ struct MediaPlayerAction { UNMUTE = 0x8, LOOP = 0x10, NO_LOOP = 0x20, - SET_PLAYBACK_RATE = 0x40, }; // A bitfield representing the actions that the context menu should execute // on the originating node. int32 command; - // The new playback rate to set if the action is SET_PLAYBACK_RATE. - double playback_rate; - - MediaPlayerAction() : command(NONE), playback_rate(1.0f) {} - explicit MediaPlayerAction(int c) : command(c), playback_rate(1.0f) {} - MediaPlayerAction(int c, double rate) : command(c), playback_rate(rate) {} + MediaPlayerAction() : command(NONE) {} + explicit MediaPlayerAction(int c) : command(c) {} }; #endif // WEBKIT_GLUE_CONTEXT_NODE_TYPES_H__ |