Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: Source/core/testing/Internals.cpp

Issue 291163004: Implement media cast buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix or mark as crashing remaining layout tests Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1737 matching lines...) Expand 10 before | Expand all | Expand 10 after
1748 void Internals::mediaPlayerRequestFullscreen(HTMLMediaElement* mediaElement) 1748 void Internals::mediaPlayerRequestFullscreen(HTMLMediaElement* mediaElement)
1749 { 1749 {
1750 mediaElement->mediaPlayerRequestFullscreen(); 1750 mediaElement->mediaPlayerRequestFullscreen();
1751 } 1751 }
1752 1752
1753 double Internals::effectiveMediaVolume(HTMLMediaElement* mediaElement) 1753 double Internals::effectiveMediaVolume(HTMLMediaElement* mediaElement)
1754 { 1754 {
1755 return mediaElement->effectiveMediaVolume(); 1755 return mediaElement->effectiveMediaVolume();
1756 } 1756 }
1757 1757
1758 void Internals::mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement* medi aElement, bool available)
1759 {
1760 mediaElement->remoteRouteAvailabilityChanged(available);
1761 }
1762
1758 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) 1763 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme)
1759 { 1764 {
1760 SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme); 1765 SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme);
1761 } 1766 }
1762 1767
1763 void Internals::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme) 1768 void Internals::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme)
1764 { 1769 {
1765 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(sc heme); 1770 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(sc heme);
1766 } 1771 }
1767 1772
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
2258 element->ensureUserAgentShadowRoot().setInnerHTML(htmlSource, exceptionState ); 2263 element->ensureUserAgentShadowRoot().setInnerHTML(htmlSource, exceptionState );
2259 toHTMLPlugInElement(element)->setUsePlaceholderContent(true); 2264 toHTMLPlugInElement(element)->setUsePlaceholderContent(true);
2260 } 2265 }
2261 2266
2262 Iterator* Internals::iterator(ScriptState* scriptState, ExceptionState& exceptio nState) 2267 Iterator* Internals::iterator(ScriptState* scriptState, ExceptionState& exceptio nState)
2263 { 2268 {
2264 return new InternalsIterator; 2269 return new InternalsIterator;
2265 } 2270 }
2266 2271
2267 } // namespace blink 2272 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698