| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights
reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 { | 159 { |
| 160 switch (exception) { | 160 switch (exception) { |
| 161 case MediaPlayer::NoError: | 161 case MediaPlayer::NoError: |
| 162 return; | 162 return; |
| 163 case MediaPlayer::InvalidPlayerState: | 163 case MediaPlayer::InvalidPlayerState: |
| 164 exceptionState.throwUninformativeAndGenericDOMException(InvalidStateErro
r); | 164 exceptionState.throwUninformativeAndGenericDOMException(InvalidStateErro
r); |
| 165 return; | 165 return; |
| 166 case MediaPlayer::KeySystemNotSupported: | 166 case MediaPlayer::KeySystemNotSupported: |
| 167 exceptionState.throwUninformativeAndGenericDOMException(NotSupportedErro
r); | 167 exceptionState.throwUninformativeAndGenericDOMException(NotSupportedErro
r); |
| 168 return; | 168 return; |
| 169 case MediaPlayer::InvalidAccess: |
| 170 exceptionState.throwUninformativeAndGenericDOMException(InvalidAccessErr
or); |
| 171 return; |
| 169 } | 172 } |
| 170 | 173 |
| 171 ASSERT_NOT_REACHED(); | 174 ASSERT_NOT_REACHED(); |
| 172 return; | 175 return; |
| 173 } | 176 } |
| 174 | 177 |
| 175 class TrackDisplayUpdateScope { | 178 class TrackDisplayUpdateScope { |
| 176 public: | 179 public: |
| 177 TrackDisplayUpdateScope(HTMLMediaElement* mediaElement) | 180 TrackDisplayUpdateScope(HTMLMediaElement* mediaElement) |
| 178 { | 181 { |
| (...skipping 3690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3869 { | 3872 { |
| 3870 scheduleLayerUpdate(); | 3873 scheduleLayerUpdate(); |
| 3871 } | 3874 } |
| 3872 | 3875 |
| 3873 bool HTMLMediaElement::isInteractiveContent() const | 3876 bool HTMLMediaElement::isInteractiveContent() const |
| 3874 { | 3877 { |
| 3875 return fastHasAttribute(controlsAttr); | 3878 return fastHasAttribute(controlsAttr); |
| 3876 } | 3879 } |
| 3877 | 3880 |
| 3878 } | 3881 } |
| OLD | NEW |