From e626d7f115a1319421d1e2d5da85b6f0bd66877f Mon Sep 17 00:00:00 2001 From: "scherkus@chromium.org" Date: Wed, 12 Aug 2009 19:52:44 +0000 Subject: 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 --- webkit/glue/webview_impl.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'webkit/glue/webview_impl.cc') 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(action.playback_rate)); - } } } -- cgit v1.1