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

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: Reenable previously crashing tests - now fixed 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
« no previous file with comments | « Source/core/testing/Internals.h ('k') | Source/core/testing/Internals.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1738 matching lines...) Expand 10 before | Expand all | Expand 10 after
1749 void Internals::mediaPlayerRequestFullscreen(HTMLMediaElement* mediaElement) 1749 void Internals::mediaPlayerRequestFullscreen(HTMLMediaElement* mediaElement)
1750 { 1750 {
1751 mediaElement->mediaPlayerRequestFullscreen(); 1751 mediaElement->mediaPlayerRequestFullscreen();
1752 } 1752 }
1753 1753
1754 double Internals::effectiveMediaVolume(HTMLMediaElement* mediaElement) 1754 double Internals::effectiveMediaVolume(HTMLMediaElement* mediaElement)
1755 { 1755 {
1756 return mediaElement->effectiveMediaVolume(); 1756 return mediaElement->effectiveMediaVolume();
1757 } 1757 }
1758 1758
1759 void Internals::mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement* medi aElement, bool available)
1760 {
1761 mediaElement->remoteRouteAvailabilityChanged(available);
1762 }
1763
1759 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) 1764 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme)
1760 { 1765 {
1761 SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme); 1766 SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme);
1762 } 1767 }
1763 1768
1764 void Internals::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme) 1769 void Internals::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme)
1765 { 1770 {
1766 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(sc heme); 1771 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(sc heme);
1767 } 1772 }
1768 1773
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
2280 2285
2281 toHTMLPlugInElement(element)->setUsePlaceholderContent(true); 2286 toHTMLPlugInElement(element)->setUsePlaceholderContent(true);
2282 } 2287 }
2283 2288
2284 Iterator* Internals::iterator(ScriptState* scriptState, ExceptionState& exceptio nState) 2289 Iterator* Internals::iterator(ScriptState* scriptState, ExceptionState& exceptio nState)
2285 { 2290 {
2286 return new InternalsIterator; 2291 return new InternalsIterator;
2287 } 2292 }
2288 2293
2289 } // namespace blink 2294 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.h ('k') | Source/core/testing/Internals.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698