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/webview_impl.cc | |
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/webview_impl.cc')
-rw-r--r-- | webkit/glue/webview_impl.cc | 4 |
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)); - } } } |