| 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 bool ignoreTrackDisplayUpdateRequests() const { return m_ignoreTrackDisplayU
pdate > 0; } | 294 bool ignoreTrackDisplayUpdateRequests() const { return m_ignoreTrackDisplayU
pdate > 0; } |
| 295 void beginIgnoringTrackDisplayUpdateRequests(); | 295 void beginIgnoringTrackDisplayUpdateRequests(); |
| 296 void endIgnoringTrackDisplayUpdateRequests(); | 296 void endIgnoringTrackDisplayUpdateRequests(); |
| 297 | 297 |
| 298 private: | 298 private: |
| 299 void createMediaPlayer(); | 299 void createMediaPlayer(); |
| 300 | 300 |
| 301 virtual bool alwaysCreateUserAgentShadowRoot() const OVERRIDE FINAL { return
true; } | 301 virtual bool alwaysCreateUserAgentShadowRoot() const OVERRIDE FINAL { return
true; } |
| 302 virtual bool areAuthorShadowsAllowed() const OVERRIDE FINAL { return false;
} | 302 virtual bool areAuthorShadowsAllowed() const OVERRIDE FINAL { return false;
} |
| 303 | 303 |
| 304 virtual bool hasCustomFocusLogic() const OVERRIDE FINAL; | |
| 305 virtual bool supportsFocus() const OVERRIDE FINAL; | 304 virtual bool supportsFocus() const OVERRIDE FINAL; |
| 306 virtual bool isMouseFocusable() const OVERRIDE FINAL; | 305 virtual bool isMouseFocusable() const OVERRIDE FINAL; |
| 307 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; | 306 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; |
| 308 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 307 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
| 309 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE F
INAL; | 308 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE F
INAL; |
| 310 virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE; | 309 virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE; |
| 311 virtual void removedFrom(ContainerNode*) OVERRIDE FINAL; | 310 virtual void removedFrom(ContainerNode*) OVERRIDE FINAL; |
| 312 virtual void didRecalcStyle(StyleRecalcChange) OVERRIDE FINAL; | 311 virtual void didRecalcStyle(StyleRecalcChange) OVERRIDE FINAL; |
| 313 | 312 |
| 314 virtual void didBecomeFullscreenElement() OVERRIDE FINAL; | 313 virtual void didBecomeFullscreenElement() OVERRIDE FINAL; |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 inline bool isHTMLMediaElement(const HTMLElement& element) | 552 inline bool isHTMLMediaElement(const HTMLElement& element) |
| 554 { | 553 { |
| 555 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 554 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 556 } | 555 } |
| 557 | 556 |
| 558 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 557 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 559 | 558 |
| 560 } //namespace | 559 } //namespace |
| 561 | 560 |
| 562 #endif | 561 #endif |
| OLD | NEW |