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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 | 370 |
371 virtual void accessKeyAction(bool /*sendToAnyEvent*/) { } | 371 virtual void accessKeyAction(bool /*sendToAnyEvent*/) { } |
372 | 372 |
373 virtual bool isURLAttribute(const Attribute&) const { return false; } | 373 virtual bool isURLAttribute(const Attribute&) const { return false; } |
374 virtual bool isHTMLContentAttribute(const Attribute&) const { return false;
} | 374 virtual bool isHTMLContentAttribute(const Attribute&) const { return false;
} |
375 | 375 |
376 KURL getURLAttribute(const QualifiedName&) const; | 376 KURL getURLAttribute(const QualifiedName&) const; |
377 KURL getNonEmptyURLAttribute(const QualifiedName&) const; | 377 KURL getNonEmptyURLAttribute(const QualifiedName&) const; |
378 | 378 |
379 virtual const AtomicString imageSourceURL() const; | 379 virtual const AtomicString imageSourceURL() const; |
380 virtual AtomicString target() const { return nullAtom; } | |
381 virtual Image* imageContents() { return 0; } | 380 virtual Image* imageContents() { return 0; } |
382 | 381 |
383 virtual void focus(bool restorePreviousSelection = true, FocusDirection = Fo
cusDirectionNone); | 382 virtual void focus(bool restorePreviousSelection = true, FocusDirection = Fo
cusDirectionNone); |
384 virtual void updateFocusAppearance(bool restorePreviousSelection); | 383 virtual void updateFocusAppearance(bool restorePreviousSelection); |
385 virtual void blur(); | 384 virtual void blur(); |
386 // Whether this element can receive focus at all. Most elements are not | 385 // Whether this element can receive focus at all. Most elements are not |
387 // focusable but some elements, such as form controls and links, are. Unlike | 386 // focusable but some elements, such as form controls and links, are. Unlike |
388 // rendererIsFocusable(), this method may be called when layout is not up to | 387 // rendererIsFocusable(), this method may be called when layout is not up to |
389 // date, so it must not use the renderer to determine focusability. | 388 // date, so it must not use the renderer to determine focusability. |
390 virtual bool supportsFocus() const; | 389 virtual bool supportsFocus() const; |
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
896 } | 895 } |
897 | 896 |
898 inline bool isShadowHost(const Element* element) | 897 inline bool isShadowHost(const Element* element) |
899 { | 898 { |
900 return element && element->shadow(); | 899 return element && element->shadow(); |
901 } | 900 } |
902 | 901 |
903 } // namespace | 902 } // namespace |
904 | 903 |
905 #endif | 904 #endif |
OLD | NEW |