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

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: Tidy up button name 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
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 1884 matching lines...) Expand 10 before | Expand all | Expand 10 after
1895 return; 1895 return;
1896 } 1896 }
1897 document->page()->setIsCursorVisible(isVisible); 1897 document->page()->setIsCursorVisible(isVisible);
1898 } 1898 }
1899 1899
1900 void Internals::mediaPlayerRequestFullscreen(HTMLMediaElement* mediaElement) 1900 void Internals::mediaPlayerRequestFullscreen(HTMLMediaElement* mediaElement)
1901 { 1901 {
1902 mediaElement->mediaPlayerRequestFullscreen(); 1902 mediaElement->mediaPlayerRequestFullscreen();
1903 } 1903 }
1904 1904
1905 void Internals::mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement* medi aElement, bool available)
1906 {
1907 mediaElement->mediaPlayerRemoteRouteAvailabilityChanged(available);
1908 }
1909
1905 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) 1910 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme)
1906 { 1911 {
1907 SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme); 1912 SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme);
1908 } 1913 }
1909 1914
1910 void Internals::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme) 1915 void Internals::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme)
1911 { 1916 {
1912 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(sc heme); 1917 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(sc heme);
1913 } 1918 }
1914 1919
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
2371 2376
2372 StringBuilder markup; 2377 StringBuilder markup;
2373 Vector<Document::TransitionElementData>::iterator iter = elementData.begin() ; 2378 Vector<Document::TransitionElementData>::iterator iter = elementData.begin() ;
2374 for (; iter != elementData.end(); ++iter) 2379 for (; iter != elementData.end(); ++iter)
2375 markup.append(iter->markup); 2380 markup.append(iter->markup);
2376 2381
2377 return markup.toString(); 2382 return markup.toString();
2378 } 2383 }
2379 2384
2380 } // namespace blink 2385 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698