| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
| 5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl
e Inc. All rights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl
e Inc. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 LayoutSize minimumSizeForResizing() const; | 476 LayoutSize minimumSizeForResizing() const; |
| 477 void setMinimumSizeForResizing(const LayoutSize&); | 477 void setMinimumSizeForResizing(const LayoutSize&); |
| 478 | 478 |
| 479 // Use Document::registerForDocumentActivationCallbacks() to subscribe to th
ese | 479 // Use Document::registerForDocumentActivationCallbacks() to subscribe to th
ese |
| 480 virtual void documentWillSuspendForPageCache() { } | 480 virtual void documentWillSuspendForPageCache() { } |
| 481 virtual void documentDidResumeFromPageCache() { } | 481 virtual void documentDidResumeFromPageCache() { } |
| 482 | 482 |
| 483 // Use Document::registerForMediaVolumeCallbacks() to subscribe to this | 483 // Use Document::registerForMediaVolumeCallbacks() to subscribe to this |
| 484 virtual void mediaVolumeDidChange() { } | 484 virtual void mediaVolumeDidChange() { } |
| 485 | 485 |
| 486 // Use Document::registerForPrivateBrowsingStateChangedCallbacks() to subscr
ibe to this. | |
| 487 virtual void privateBrowsingStateDidChange() { } | |
| 488 | |
| 489 virtual void didBecomeFullscreenElement() { } | 486 virtual void didBecomeFullscreenElement() { } |
| 490 virtual void willStopBeingFullscreenElement() { } | 487 virtual void willStopBeingFullscreenElement() { } |
| 491 | 488 |
| 492 #if ENABLE(VIDEO_TRACK) | 489 #if ENABLE(VIDEO_TRACK) |
| 493 virtual void captionPreferencesChanged() { } | 490 virtual void captionPreferencesChanged() { } |
| 494 #endif | 491 #endif |
| 495 | 492 |
| 496 bool isFinishedParsingChildren() const { return isParsingChildrenFinished();
} | 493 bool isFinishedParsingChildren() const { return isParsingChildrenFinished();
} |
| 497 virtual void finishParsingChildren(); | 494 virtual void finishParsingChildren(); |
| 498 virtual void beginParsingChildren(); | 495 virtual void beginParsingChildren(); |
| (...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 993 { | 990 { |
| 994 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); | 991 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); |
| 995 if (m_isUnique) | 992 if (m_isUnique) |
| 996 return &static_cast<const UniqueElementData*>(this)->m_attributeVector.a
t(index); | 993 return &static_cast<const UniqueElementData*>(this)->m_attributeVector.a
t(index); |
| 997 return &static_cast<const ShareableElementData*>(this)->m_attributeArray[ind
ex]; | 994 return &static_cast<const ShareableElementData*>(this)->m_attributeArray[ind
ex]; |
| 998 } | 995 } |
| 999 | 996 |
| 1000 } // namespace | 997 } // namespace |
| 1001 | 998 |
| 1002 #endif | 999 #endif |
| OLD | NEW |