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 30 matching lines...) Expand all Loading... |
41 class ActiveAnimations; | 41 class ActiveAnimations; |
42 class Attr; | 42 class Attr; |
43 class Attribute; | 43 class Attribute; |
44 class ClientRect; | 44 class ClientRect; |
45 class ClientRectList; | 45 class ClientRectList; |
46 class DOMStringMap; | 46 class DOMStringMap; |
47 class DOMTokenList; | 47 class DOMTokenList; |
48 class Element; | 48 class Element; |
49 class ElementRareData; | 49 class ElementRareData; |
50 class ElementShadow; | 50 class ElementShadow; |
| 51 class Image; |
51 class InputMethodContext; | 52 class InputMethodContext; |
52 class IntSize; | 53 class IntSize; |
53 class Locale; | 54 class Locale; |
54 class MutableStylePropertySet; | 55 class MutableStylePropertySet; |
55 class PropertySetCSSStyleDeclaration; | 56 class PropertySetCSSStyleDeclaration; |
56 class PseudoElement; | 57 class PseudoElement; |
57 class RenderRegion; | 58 class RenderRegion; |
58 class ShadowRoot; | 59 class ShadowRoot; |
59 class ShareableElementData; | 60 class ShareableElementData; |
60 class StylePropertySet; | 61 class StylePropertySet; |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 virtual void accessKeyAction(bool /*sendToAnyEvent*/) { } | 498 virtual void accessKeyAction(bool /*sendToAnyEvent*/) { } |
498 | 499 |
499 virtual bool isURLAttribute(const Attribute&) const { return false; } | 500 virtual bool isURLAttribute(const Attribute&) const { return false; } |
500 virtual bool isHTMLContentAttribute(const Attribute&) const { return false;
} | 501 virtual bool isHTMLContentAttribute(const Attribute&) const { return false;
} |
501 | 502 |
502 KURL getURLAttribute(const QualifiedName&) const; | 503 KURL getURLAttribute(const QualifiedName&) const; |
503 KURL getNonEmptyURLAttribute(const QualifiedName&) const; | 504 KURL getNonEmptyURLAttribute(const QualifiedName&) const; |
504 | 505 |
505 virtual const AtomicString& imageSourceURL() const; | 506 virtual const AtomicString& imageSourceURL() const; |
506 virtual String target() const { return String(); } | 507 virtual String target() const { return String(); } |
| 508 virtual Image* imageContents() { return 0; } |
507 | 509 |
508 virtual void focus(bool restorePreviousSelection = true, FocusDirection = Fo
cusDirectionNone); | 510 virtual void focus(bool restorePreviousSelection = true, FocusDirection = Fo
cusDirectionNone); |
509 virtual void updateFocusAppearance(bool restorePreviousSelection); | 511 virtual void updateFocusAppearance(bool restorePreviousSelection); |
510 virtual void blur(); | 512 virtual void blur(); |
511 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusDirection); | 513 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusDirection); |
512 virtual void dispatchBlurEvent(Element* newFocusedElement); | 514 virtual void dispatchBlurEvent(Element* newFocusedElement); |
513 void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocused
Element); | 515 void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocused
Element); |
514 void dispatchFocusOutEvent(const AtomicString& eventType, Element* newFocuse
dElement); | 516 void dispatchFocusOutEvent(const AtomicString& eventType, Element* newFocuse
dElement); |
515 | 517 |
516 String innerText(); | 518 String innerText(); |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1065 | 1067 |
1066 inline const Attribute* ElementData::attributeItem(unsigned index) const | 1068 inline const Attribute* ElementData::attributeItem(unsigned index) const |
1067 { | 1069 { |
1068 RELEASE_ASSERT(index < length()); | 1070 RELEASE_ASSERT(index < length()); |
1069 return attributeBase() + index; | 1071 return attributeBase() + index; |
1070 } | 1072 } |
1071 | 1073 |
1072 } // namespace | 1074 } // namespace |
1073 | 1075 |
1074 #endif | 1076 #endif |
OLD | NEW |