| 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 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 923 bool Node::isMouseFocusable() const | 923 bool Node::isMouseFocusable() const |
| 924 { | 924 { |
| 925 return isFocusable(); | 925 return isFocusable(); |
| 926 } | 926 } |
| 927 | 927 |
| 928 Node* Node::focusDelegate() | 928 Node* Node::focusDelegate() |
| 929 { | 929 { |
| 930 return this; | 930 return this; |
| 931 } | 931 } |
| 932 | 932 |
| 933 bool Node::shouldHaveFocusAppearance() const |
| 934 { |
| 935 return true; |
| 936 } |
| 937 |
| 933 unsigned Node::nodeIndex() const | 938 unsigned Node::nodeIndex() const |
| 934 { | 939 { |
| 935 Node *_tempNode = previousSibling(); | 940 Node *_tempNode = previousSibling(); |
| 936 unsigned count=0; | 941 unsigned count=0; |
| 937 for ( count=0; _tempNode; count++ ) | 942 for ( count=0; _tempNode; count++ ) |
| 938 _tempNode = _tempNode->previousSibling(); | 943 _tempNode = _tempNode->previousSibling(); |
| 939 return count; | 944 return count; |
| 940 } | 945 } |
| 941 | 946 |
| 942 template<unsigned type> | 947 template<unsigned type> |
| (...skipping 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2774 node->showTreeForThis(); | 2779 node->showTreeForThis(); |
| 2775 } | 2780 } |
| 2776 | 2781 |
| 2777 void showNodePath(const WebCore::Node* node) | 2782 void showNodePath(const WebCore::Node* node) |
| 2778 { | 2783 { |
| 2779 if (node) | 2784 if (node) |
| 2780 node->showNodePathForThis(); | 2785 node->showNodePathForThis(); |
| 2781 } | 2786 } |
| 2782 | 2787 |
| 2783 #endif | 2788 #endif |
| OLD | NEW |