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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 | 334 |
335 virtual bool hasCustomFocusLogic() const OVERRIDE; | 335 virtual bool hasCustomFocusLogic() const OVERRIDE; |
336 virtual bool supportsFocus() const; | 336 virtual bool supportsFocus() const; |
337 virtual bool isMouseFocusable() const; | 337 virtual bool isMouseFocusable() const; |
338 virtual bool rendererIsNeeded(const NodeRenderingContext&); | 338 virtual bool rendererIsNeeded(const NodeRenderingContext&); |
339 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 339 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
340 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const OV
ERRIDE; | 340 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const OV
ERRIDE; |
341 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 341 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
342 virtual void removedFrom(ContainerNode*) OVERRIDE; | 342 virtual void removedFrom(ContainerNode*) OVERRIDE; |
343 virtual void didRecalcStyle(StyleChange); | 343 virtual void didRecalcStyle(StyleChange); |
344 | 344 |
| 345 virtual void defaultEventHandler(Event*); |
| 346 |
345 virtual void didBecomeFullscreenElement(); | 347 virtual void didBecomeFullscreenElement(); |
346 virtual void willStopBeingFullscreenElement(); | 348 virtual void willStopBeingFullscreenElement(); |
347 | 349 |
348 // ActiveDOMObject functions. | 350 // ActiveDOMObject functions. |
349 virtual bool canSuspend() const; | 351 virtual bool canSuspend() const; |
350 virtual void suspend(ReasonForSuspension); | 352 virtual void suspend(ReasonForSuspension); |
351 virtual void resume(); | 353 virtual void resume(); |
352 virtual void stop(); | 354 virtual void stop(); |
353 | 355 |
354 virtual void updateDisplayState() { } | 356 virtual void updateDisplayState() { } |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
603 | 605 |
604 inline HTMLMediaElement* toMediaElement(Node* node) | 606 inline HTMLMediaElement* toMediaElement(Node* node) |
605 { | 607 { |
606 ASSERT_WITH_SECURITY_IMPLICATION(!node || isMediaElement(node)); | 608 ASSERT_WITH_SECURITY_IMPLICATION(!node || isMediaElement(node)); |
607 return static_cast<HTMLMediaElement*>(node); | 609 return static_cast<HTMLMediaElement*>(node); |
608 } | 610 } |
609 | 611 |
610 } //namespace | 612 } //namespace |
611 | 613 |
612 #endif | 614 #endif |
OLD | NEW |