| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 1708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1719 void Internals::mediaPlayerRequestFullscreen(HTMLMediaElement* mediaElement) | 1719 void Internals::mediaPlayerRequestFullscreen(HTMLMediaElement* mediaElement) |
| 1720 { | 1720 { |
| 1721 mediaElement->mediaPlayerRequestFullscreen(); | 1721 mediaElement->mediaPlayerRequestFullscreen(); |
| 1722 } | 1722 } |
| 1723 | 1723 |
| 1724 double Internals::effectiveMediaVolume(HTMLMediaElement* mediaElement) | 1724 double Internals::effectiveMediaVolume(HTMLMediaElement* mediaElement) |
| 1725 { | 1725 { |
| 1726 return mediaElement->effectiveMediaVolume(); | 1726 return mediaElement->effectiveMediaVolume(); |
| 1727 } | 1727 } |
| 1728 | 1728 |
| 1729 void Internals::mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement* medi
aElement, bool available) |
| 1730 { |
| 1731 mediaElement->remoteRouteAvailabilityChanged(available); |
| 1732 } |
| 1733 |
| 1729 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String&
scheme) | 1734 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String&
scheme) |
| 1730 { | 1735 { |
| 1731 SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme); | 1736 SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme); |
| 1732 } | 1737 } |
| 1733 | 1738 |
| 1734 void Internals::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const
String& scheme) | 1739 void Internals::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const
String& scheme) |
| 1735 { | 1740 { |
| 1736 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(sc
heme); | 1741 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(sc
heme); |
| 1737 } | 1742 } |
| 1738 | 1743 |
| (...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2219 } | 2224 } |
| 2220 if (!element->isPluginElement()) { | 2225 if (!element->isPluginElement()) { |
| 2221 exceptionState.throwDOMException(InvalidNodeTypeError, "The element prov
ided is not a plugin."); | 2226 exceptionState.throwDOMException(InvalidNodeTypeError, "The element prov
ided is not a plugin."); |
| 2222 return; | 2227 return; |
| 2223 } | 2228 } |
| 2224 element->ensureUserAgentShadowRoot().setInnerHTML(htmlSource, exceptionState
); | 2229 element->ensureUserAgentShadowRoot().setInnerHTML(htmlSource, exceptionState
); |
| 2225 toHTMLPlugInElement(element)->setUsePlaceholderContent(true); | 2230 toHTMLPlugInElement(element)->setUsePlaceholderContent(true); |
| 2226 } | 2231 } |
| 2227 | 2232 |
| 2228 } // namespace blink | 2233 } // namespace blink |
| OLD | NEW |