| 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 2176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2187 | 2187 |
| 2188 String Internals::effectivePreload(HTMLMediaElement* mediaElement) { | 2188 String Internals::effectivePreload(HTMLMediaElement* mediaElement) { |
| 2189 ASSERT(mediaElement); | 2189 ASSERT(mediaElement); |
| 2190 return mediaElement->effectivePreload(); | 2190 return mediaElement->effectivePreload(); |
| 2191 } | 2191 } |
| 2192 | 2192 |
| 2193 void Internals::mediaPlayerRemoteRouteAvailabilityChanged( | 2193 void Internals::mediaPlayerRemoteRouteAvailabilityChanged( |
| 2194 HTMLMediaElement* mediaElement, | 2194 HTMLMediaElement* mediaElement, |
| 2195 bool available) { | 2195 bool available) { |
| 2196 ASSERT(mediaElement); | 2196 ASSERT(mediaElement); |
| 2197 mediaElement->remoteRouteAvailabilityChanged(available); | 2197 mediaElement->remoteRouteAvailabilityChanged(available, available); |
| 2198 } | 2198 } |
| 2199 | 2199 |
| 2200 void Internals::mediaPlayerPlayingRemotelyChanged( | 2200 void Internals::mediaPlayerPlayingRemotelyChanged( |
| 2201 HTMLMediaElement* mediaElement, | 2201 HTMLMediaElement* mediaElement, |
| 2202 bool remote) { | 2202 bool remote) { |
| 2203 ASSERT(mediaElement); | 2203 ASSERT(mediaElement); |
| 2204 if (remote) | 2204 if (remote) |
| 2205 mediaElement->connectedToRemoteDevice(); | 2205 mediaElement->connectedToRemoteDevice(); |
| 2206 else | 2206 else |
| 2207 mediaElement->disconnectedFromRemoteDevice(); | 2207 mediaElement->disconnectedFromRemoteDevice(); |
| (...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3015 return ClientRect::create(); | 3015 return ClientRect::create(); |
| 3016 | 3016 |
| 3017 return ClientRect::create(FloatRect(node->layoutObject()->visualRect())); | 3017 return ClientRect::create(FloatRect(node->layoutObject()->visualRect())); |
| 3018 } | 3018 } |
| 3019 | 3019 |
| 3020 void Internals::crash() { | 3020 void Internals::crash() { |
| 3021 CHECK(false) << "Intentional crash"; | 3021 CHECK(false) << "Intentional crash"; |
| 3022 } | 3022 } |
| 3023 | 3023 |
| 3024 } // namespace blink | 3024 } // namespace blink |
| OLD | NEW |