summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_impl.cc
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-12 19:52:44 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-12 19:52:44 +0000
commite626d7f115a1319421d1e2d5da85b6f0bd66877f (patch)
treecd6c50923fbb063c1980315c2db5447fbfee0086 /webkit/glue/webview_impl.cc
parentf1f188943ba5fd66cc54c813d9ed27596a7b29e9 (diff)
downloadchromium_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/webview_impl.cc')
-rw-r--r--webkit/glue/webview_impl.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc
index 2a646e8..6d8f05a 100644
--- a/webkit/glue/webview_impl.cc
+++ b/webkit/glue/webview_impl.cc
@@ -1820,10 +1820,6 @@ void WebViewImpl::MediaPlayerActionAt(int x,
if (action.command & MediaPlayerAction::NO_LOOP) {
media_element->setLoop(false);
}
- if (action.command & MediaPlayerAction::SET_PLAYBACK_RATE) {
- // TODO(ajwong): We should test for overflow.
- media_element->setPlaybackRate(static_cast<float>(action.playback_rate));
- }
}
}