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

Side by Side Diff: Source/WebCore/html/HTMLMediaElement.cpp

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/WebCore/html/HTMLMarqueeElement.cpp ('k') | Source/WebCore/html/HTMLMenuElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 if (!RuntimeEnabledFeatures::webkitVideoTrackEnabled()) 489 if (!RuntimeEnabledFeatures::webkitVideoTrackEnabled())
490 return; 490 return;
491 491
492 for (Node* node = firstChild(); node; node = node->nextSibling()) { 492 for (Node* node = firstChild(); node; node = node->nextSibling()) {
493 if (node->hasTagName(trackTag)) { 493 if (node->hasTagName(trackTag)) {
494 scheduleDelayedAction(LoadTextTrackResource); 494 scheduleDelayedAction(LoadTextTrackResource);
495 break; 495 break;
496 } 496 }
497 } 497 }
498 #endif 498 #endif
499
500 ScriptWrappable::init(this);
499 } 501 }
500 502
501 bool HTMLMediaElement::rendererIsNeeded(const NodeRenderingContext& context) 503 bool HTMLMediaElement::rendererIsNeeded(const NodeRenderingContext& context)
502 { 504 {
503 #if ENABLE(PLUGIN_PROXY_FOR_VIDEO) 505 #if ENABLE(PLUGIN_PROXY_FOR_VIDEO)
504 UNUSED_PARAM(context); 506 UNUSED_PARAM(context);
505 Frame* frame = document()->frame(); 507 Frame* frame = document()->frame();
506 if (!frame) 508 if (!frame)
507 return false; 509 return false;
508 510
(...skipping 4261 matching lines...) Expand 10 before | Expand all | Expand 10 after
4770 info.addMember(m_sleepDisabler, "sleepDisabler"); 4772 info.addMember(m_sleepDisabler, "sleepDisabler");
4771 #endif 4773 #endif
4772 #if ENABLE(WEB_AUDIO) 4774 #if ENABLE(WEB_AUDIO)
4773 info.addMember(m_audioSourceNode, "audioSourceNode"); 4775 info.addMember(m_audioSourceNode, "audioSourceNode");
4774 #endif 4776 #endif
4775 4777
4776 } 4778 }
4777 4779
4778 } 4780 }
4779 #endif 4781 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/html/HTMLMarqueeElement.cpp ('k') | Source/WebCore/html/HTMLMenuElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698