| 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-2011, 2014 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 virtual void setHovered(bool flag = true); | 410 virtual void setHovered(bool flag = true); |
| 411 | 411 |
| 412 virtual short tabIndex() const; | 412 virtual short tabIndex() const; |
| 413 | 413 |
| 414 virtual Node* focusDelegate(); | 414 virtual Node* focusDelegate(); |
| 415 // This is called only when the node is focused. | 415 // This is called only when the node is focused. |
| 416 virtual bool shouldHaveFocusAppearance() const; | 416 virtual bool shouldHaveFocusAppearance() const; |
| 417 | 417 |
| 418 // Whether the node is inert. This can't be in Element because text nodes | 418 // Whether the node is inert. This can't be in Element because text nodes |
| 419 // must be recognized as inert to prevent text selection. | 419 // must be recognized as inert to prevent text selection. |
| 420 bool isInert() const; | 420 virtual bool isInert() const; |
| 421 | 421 |
| 422 enum UserSelectAllTreatment { | 422 enum UserSelectAllTreatment { |
| 423 UserSelectAllDoesNotAffectEditability, | 423 UserSelectAllDoesNotAffectEditability, |
| 424 UserSelectAllIsAlwaysNonEditable | 424 UserSelectAllIsAlwaysNonEditable |
| 425 }; | 425 }; |
| 426 bool isContentEditable(UserSelectAllTreatment = UserSelectAllDoesNotAffectEd
itability) const; | 426 bool isContentEditable(UserSelectAllTreatment = UserSelectAllDoesNotAffectEd
itability) const; |
| 427 bool isContentRichlyEditable() const; | 427 bool isContentRichlyEditable() const; |
| 428 | 428 |
| 429 bool hasEditableStyle(EditableType editableType = ContentIsEditable, UserSel
ectAllTreatment treatment = UserSelectAllIsAlwaysNonEditable) const | 429 bool hasEditableStyle(EditableType editableType = ContentIsEditable, UserSel
ectAllTreatment treatment = UserSelectAllIsAlwaysNonEditable) const |
| 430 { | 430 { |
| (...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 920 } // namespace blink | 920 } // namespace blink |
| 921 | 921 |
| 922 #ifndef NDEBUG | 922 #ifndef NDEBUG |
| 923 // Outside the WebCore namespace for ease of invocation from gdb. | 923 // Outside the WebCore namespace for ease of invocation from gdb. |
| 924 void showNode(const blink::Node*); | 924 void showNode(const blink::Node*); |
| 925 void showTree(const blink::Node*); | 925 void showTree(const blink::Node*); |
| 926 void showNodePath(const blink::Node*); | 926 void showNodePath(const blink::Node*); |
| 927 #endif | 927 #endif |
| 928 | 928 |
| 929 #endif // Node_h | 929 #endif // Node_h |
| OLD | NEW |