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 1779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1790 return; | 1790 return; |
1791 } | 1791 } |
1792 document->page()->setIsCursorVisible(isVisible); | 1792 document->page()->setIsCursorVisible(isVisible); |
1793 } | 1793 } |
1794 | 1794 |
1795 void Internals::mediaPlayerRequestFullscreen(HTMLMediaElement* mediaElement) | 1795 void Internals::mediaPlayerRequestFullscreen(HTMLMediaElement* mediaElement) |
1796 { | 1796 { |
1797 mediaElement->mediaPlayerRequestFullscreen(); | 1797 mediaElement->mediaPlayerRequestFullscreen(); |
1798 } | 1798 } |
1799 | 1799 |
| 1800 double Internals::effectiveMediaVolume(HTMLMediaElement* mediaElement) |
| 1801 { |
| 1802 return mediaElement->effectiveMediaVolume(); |
| 1803 } |
| 1804 |
1800 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String&
scheme) | 1805 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String&
scheme) |
1801 { | 1806 { |
1802 SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme); | 1807 SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme); |
1803 } | 1808 } |
1804 | 1809 |
1805 void Internals::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const
String& scheme) | 1810 void Internals::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const
String& scheme) |
1806 { | 1811 { |
1807 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(sc
heme); | 1812 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(sc
heme); |
1808 } | 1813 } |
1809 | 1814 |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2254 | 2259 |
2255 StringBuilder markup; | 2260 StringBuilder markup; |
2256 Vector<Document::TransitionElementData>::iterator iter = elementData.begin()
; | 2261 Vector<Document::TransitionElementData>::iterator iter = elementData.begin()
; |
2257 for (; iter != elementData.end(); ++iter) | 2262 for (; iter != elementData.end(); ++iter) |
2258 markup.append(iter->markup); | 2263 markup.append(iter->markup); |
2259 | 2264 |
2260 return markup.toString(); | 2265 return markup.toString(); |
2261 } | 2266 } |
2262 | 2267 |
2263 } // namespace blink | 2268 } // namespace blink |
OLD | NEW |