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

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

Issue 444173002: Let the effective media volume be 0 if the media element is muted (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 4 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 | Annotate | Revision Log
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 1779 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698