| 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 2185 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2196 void Internals::mediaPlayerPlayingRemotelyChanged( | 2196 void Internals::mediaPlayerPlayingRemotelyChanged( | 
| 2197     HTMLMediaElement* mediaElement, | 2197     HTMLMediaElement* mediaElement, | 
| 2198     bool remote) { | 2198     bool remote) { | 
| 2199   ASSERT(mediaElement); | 2199   ASSERT(mediaElement); | 
| 2200   if (remote) | 2200   if (remote) | 
| 2201     mediaElement->connectedToRemoteDevice(); | 2201     mediaElement->connectedToRemoteDevice(); | 
| 2202   else | 2202   else | 
| 2203     mediaElement->disconnectedFromRemoteDevice(); | 2203     mediaElement->disconnectedFromRemoteDevice(); | 
| 2204 } | 2204 } | 
| 2205 | 2205 | 
| 2206 void Internals::setAllowHiddenVolumeControls(HTMLMediaElement* mediaElement, |  | 
| 2207                                              bool allow) { |  | 
| 2208   ASSERT(mediaElement); |  | 
| 2209   mediaElement->setAllowHiddenVolumeControls(allow); |  | 
| 2210 } |  | 
| 2211 |  | 
| 2212 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy( | 2206 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy( | 
| 2213     const String& scheme) { | 2207     const String& scheme) { | 
| 2214   SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme); | 2208   SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme); | 
| 2215 } | 2209 } | 
| 2216 | 2210 | 
| 2217 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy( | 2211 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy( | 
| 2218     const String& scheme, | 2212     const String& scheme, | 
| 2219     const Vector<String>& policyAreas) { | 2213     const Vector<String>& policyAreas) { | 
| 2220   uint32_t policyAreasEnum = SchemeRegistry::PolicyAreaNone; | 2214   uint32_t policyAreasEnum = SchemeRegistry::PolicyAreaNone; | 
| 2221   for (const auto& policyArea : policyAreas) { | 2215   for (const auto& policyArea : policyAreas) { | 
| (...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3015     return ClientRect::create(); | 3009     return ClientRect::create(); | 
| 3016 | 3010 | 
| 3017   return ClientRect::create(FloatRect(node->layoutObject()->visualRect())); | 3011   return ClientRect::create(FloatRect(node->layoutObject()->visualRect())); | 
| 3018 } | 3012 } | 
| 3019 | 3013 | 
| 3020 void Internals::crash() { | 3014 void Internals::crash() { | 
| 3021   CHECK(false) << "Intentional crash"; | 3015   CHECK(false) << "Intentional crash"; | 
| 3022 } | 3016 } | 
| 3023 | 3017 | 
| 3024 }  // namespace blink | 3018 }  // namespace blink | 
| OLD | NEW | 
|---|