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 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
6 * Copyright (C) 2011 Motorola Mobility. All rights reserved. | 6 * Copyright (C) 2011 Motorola Mobility. 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 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
592 dispatchSimulatedClick(0, SendNoEvents); | 592 dispatchSimulatedClick(0, SendNoEvents); |
593 } | 593 } |
594 | 594 |
595 void HTMLElement::accessKeyAction(bool sendMouseEvents) | 595 void HTMLElement::accessKeyAction(bool sendMouseEvents) |
596 { | 596 { |
597 dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEv
ents); | 597 dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEv
ents); |
598 } | 598 } |
599 | 599 |
600 String HTMLElement::title() const | 600 String HTMLElement::title() const |
601 { | 601 { |
602 return getAttribute(titleAttr); | 602 return fastGetAttribute(titleAttr); |
603 } | 603 } |
604 | 604 |
605 short HTMLElement::tabIndex() const | 605 short HTMLElement::tabIndex() const |
606 { | 606 { |
607 if (supportsFocus()) | 607 if (supportsFocus()) |
608 return Element::tabIndex(); | 608 return Element::tabIndex(); |
609 return -1; | 609 return -1; |
610 } | 610 } |
611 | 611 |
612 void HTMLElement::setTabIndex(int value) | 612 void HTMLElement::setTabIndex(int value) |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
968 #ifndef NDEBUG | 968 #ifndef NDEBUG |
969 | 969 |
970 // For use in the debugger | 970 // For use in the debugger |
971 void dumpInnerHTML(WebCore::HTMLElement*); | 971 void dumpInnerHTML(WebCore::HTMLElement*); |
972 | 972 |
973 void dumpInnerHTML(WebCore::HTMLElement* element) | 973 void dumpInnerHTML(WebCore::HTMLElement* element) |
974 { | 974 { |
975 printf("%s\n", element->innerHTML().ascii().data()); | 975 printf("%s\n", element->innerHTML().ascii().data()); |
976 } | 976 } |
977 #endif | 977 #endif |
OLD | NEW |