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 1750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1761 double Internals::effectiveMediaVolume(HTMLMediaElement* mediaElement) | 1761 double Internals::effectiveMediaVolume(HTMLMediaElement* mediaElement) |
1762 { | 1762 { |
1763 return mediaElement->effectiveMediaVolume(); | 1763 return mediaElement->effectiveMediaVolume(); |
1764 } | 1764 } |
1765 | 1765 |
1766 void Internals::mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement* medi
aElement, bool available) | 1766 void Internals::mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement* medi
aElement, bool available) |
1767 { | 1767 { |
1768 mediaElement->remoteRouteAvailabilityChanged(available); | 1768 mediaElement->remoteRouteAvailabilityChanged(available); |
1769 } | 1769 } |
1770 | 1770 |
| 1771 void Internals::mediaPlayerPlayingRemotelyChanged(HTMLMediaElement* mediaElement
, bool remote) |
| 1772 { |
| 1773 if (remote) |
| 1774 mediaElement->connectedToRemoteDevice(); |
| 1775 else |
| 1776 mediaElement->disconnectedFromRemoteDevice(); |
| 1777 } |
| 1778 |
1771 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String&
scheme) | 1779 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String&
scheme) |
1772 { | 1780 { |
1773 SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme); | 1781 SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme); |
1774 } | 1782 } |
1775 | 1783 |
1776 void Internals::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const
String& scheme) | 1784 void Internals::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const
String& scheme) |
1777 { | 1785 { |
1778 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(sc
heme); | 1786 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(sc
heme); |
1779 } | 1787 } |
1780 | 1788 |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2275 } | 2283 } |
2276 toHTMLPlugInElement(element)->setPlaceholder(DictionaryPluginPlaceholder::cr
eate(element->document(), options)); | 2284 toHTMLPlugInElement(element)->setPlaceholder(DictionaryPluginPlaceholder::cr
eate(element->document(), options)); |
2277 } | 2285 } |
2278 | 2286 |
2279 Iterator* Internals::iterator(ScriptState* scriptState, ExceptionState& exceptio
nState) | 2287 Iterator* Internals::iterator(ScriptState* scriptState, ExceptionState& exceptio
nState) |
2280 { | 2288 { |
2281 return new InternalsIterator; | 2289 return new InternalsIterator; |
2282 } | 2290 } |
2283 | 2291 |
2284 } // namespace blink | 2292 } // namespace blink |
OLD | NEW |