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 1684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1695 if (!document->page()) { | 1695 if (!document->page()) { |
1696 exceptionState.throwDOMException(InvalidAccessError, "No context documen
t can be obtained."); | 1696 exceptionState.throwDOMException(InvalidAccessError, "No context documen
t can be obtained."); |
1697 return; | 1697 return; |
1698 } | 1698 } |
1699 document->page()->setIsCursorVisible(isVisible); | 1699 document->page()->setIsCursorVisible(isVisible); |
1700 } | 1700 } |
1701 | 1701 |
1702 void Internals::mediaPlayerRequestFullscreen(HTMLMediaElement* mediaElement) | 1702 void Internals::mediaPlayerRequestFullscreen(HTMLMediaElement* mediaElement) |
1703 { | 1703 { |
1704 ASSERT(mediaElement); | 1704 ASSERT(mediaElement); |
1705 mediaElement->mediaPlayerRequestFullscreen(); | 1705 mediaElement->requestFullscreen(); |
1706 } | 1706 } |
1707 | 1707 |
1708 double Internals::effectiveMediaVolume(HTMLMediaElement* mediaElement) | 1708 double Internals::effectiveMediaVolume(HTMLMediaElement* mediaElement) |
1709 { | 1709 { |
1710 ASSERT(mediaElement); | 1710 ASSERT(mediaElement); |
1711 return mediaElement->effectiveMediaVolume(); | 1711 return mediaElement->effectiveMediaVolume(); |
1712 } | 1712 } |
1713 | 1713 |
1714 void Internals::mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement* medi
aElement, bool available) | 1714 void Internals::mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement* medi
aElement, bool available) |
1715 { | 1715 { |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2325 { | 2325 { |
2326 return frame()->selection().selectedTextForClipboard(); | 2326 return frame()->selection().selectedTextForClipboard(); |
2327 } | 2327 } |
2328 | 2328 |
2329 ValueIterable<int>::IterationSource* Internals::startIteration(ScriptState*, Exc
eptionState&) | 2329 ValueIterable<int>::IterationSource* Internals::startIteration(ScriptState*, Exc
eptionState&) |
2330 { | 2330 { |
2331 return new InternalsIterationSource(); | 2331 return new InternalsIterationSource(); |
2332 } | 2332 } |
2333 | 2333 |
2334 } // namespace blink | 2334 } // namespace blink |
OLD | NEW |