| OLD | NEW |
| 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 2396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2407 if (m_webLayer) { | 2407 if (m_webLayer) { |
| 2408 GraphicsLayer::registerContentsLayer(m_webLayer); | 2408 GraphicsLayer::registerContentsLayer(m_webLayer); |
| 2409 } | 2409 } |
| 2410 } | 2410 } |
| 2411 | 2411 |
| 2412 void HTMLMediaElement::mediaPlayerMediaSourceOpened(blink::WebMediaSource* webMe
diaSource) | 2412 void HTMLMediaElement::mediaPlayerMediaSourceOpened(blink::WebMediaSource* webMe
diaSource) |
| 2413 { | 2413 { |
| 2414 m_mediaSource->setWebMediaSourceAndOpen(adoptPtr(webMediaSource)); | 2414 m_mediaSource->setWebMediaSourceAndOpen(adoptPtr(webMediaSource)); |
| 2415 } | 2415 } |
| 2416 | 2416 |
| 2417 bool HTMLMediaElement::isInteractiveContent() const | |
| 2418 { | |
| 2419 return hasAttribute(HTMLNames::controlsAttr); | |
| 2420 } | |
| 2421 | |
| 2422 void HTMLMediaElement::defaultEventHandler(Event* event) | 2417 void HTMLMediaElement::defaultEventHandler(Event* event) |
| 2423 { | 2418 { |
| 2424 HTMLElement::defaultEventHandler(event); | 2419 HTMLElement::defaultEventHandler(event); |
| 2425 } | 2420 } |
| 2426 | 2421 |
| 2427 } | 2422 } |
| OLD | NEW |