| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights | 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights |
| 3 * reserved. | 3 * 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 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 3358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3369 return true; | 3369 return true; |
| 3370 | 3370 |
| 3371 // Wait for any pending events to be fired. | 3371 // Wait for any pending events to be fired. |
| 3372 if (m_asyncEventQueue->hasPendingEvents()) | 3372 if (m_asyncEventQueue->hasPendingEvents()) |
| 3373 return true; | 3373 return true; |
| 3374 | 3374 |
| 3375 return false; | 3375 return false; |
| 3376 } | 3376 } |
| 3377 | 3377 |
| 3378 bool HTMLMediaElement::isFullscreen() const { | 3378 bool HTMLMediaElement::isFullscreen() const { |
| 3379 return Fullscreen::isCurrentFullScreenElement(*this); | 3379 return Fullscreen::isFullscreenElement(*this); |
| 3380 } | 3380 } |
| 3381 | 3381 |
| 3382 void HTMLMediaElement::enterFullscreen() { | 3382 void HTMLMediaElement::enterFullscreen() { |
| 3383 BLINK_MEDIA_LOG << "enterFullscreen(" << (void*)this << ")"; | 3383 BLINK_MEDIA_LOG << "enterFullscreen(" << (void*)this << ")"; |
| 3384 | 3384 |
| 3385 Fullscreen::requestFullscreen(*this, Fullscreen::PrefixedRequest); | 3385 Fullscreen::requestFullscreen(*this, Fullscreen::PrefixedRequest); |
| 3386 } | 3386 } |
| 3387 | 3387 |
| 3388 void HTMLMediaElement::exitFullscreen() { | 3388 void HTMLMediaElement::exitFullscreen() { |
| 3389 BLINK_MEDIA_LOG << "exitFullscreen(" << (void*)this << ")"; | 3389 BLINK_MEDIA_LOG << "exitFullscreen(" << (void*)this << ")"; |
| (...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4092 | 4092 |
| 4093 IntRect HTMLMediaElement::AutoplayHelperClientImpl::absoluteBoundingBoxRect() | 4093 IntRect HTMLMediaElement::AutoplayHelperClientImpl::absoluteBoundingBoxRect() |
| 4094 const { | 4094 const { |
| 4095 IntRect result; | 4095 IntRect result; |
| 4096 if (LayoutObject* object = m_element->layoutObject()) | 4096 if (LayoutObject* object = m_element->layoutObject()) |
| 4097 result = object->absoluteBoundingBoxRect(); | 4097 result = object->absoluteBoundingBoxRect(); |
| 4098 return result; | 4098 return result; |
| 4099 } | 4099 } |
| 4100 | 4100 |
| 4101 } // namespace blink | 4101 } // namespace blink |
| OLD | NEW |