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

Unified Diff: chrome/browser/resources/mediaplayer.html

Issue 2858001: Changing mediaplayer to have a div blocker, so the context menus are not avai... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/mediaplayer.html
===================================================================
--- chrome/browser/resources/mediaplayer.html (revision 49694)
+++ chrome/browser/resources/mediaplayer.html (working copy)
@@ -381,6 +381,9 @@
element.onerror = onMediaError;
element.addEventListener("play", onMediaPlay, true);
element.addEventListener("pause", onMediaPause, true);
+ element.oncontextmenu = function() {
+ return false;
+ };
}
function getMediaElement() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698