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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 switch (editableType) { | 432 switch (editableType) { |
433 case ContentIsEditable: | 433 case ContentIsEditable: |
434 return hasEditableStyle(RichlyEditable, UserSelectAllIsAlwaysNonEdit
able); | 434 return hasEditableStyle(RichlyEditable, UserSelectAllIsAlwaysNonEdit
able); |
435 case HasEditableAXRole: | 435 case HasEditableAXRole: |
436 return isEditableToAccessibility(RichlyEditable); | 436 return isEditableToAccessibility(RichlyEditable); |
437 } | 437 } |
438 ASSERT_NOT_REACHED(); | 438 ASSERT_NOT_REACHED(); |
439 return false; | 439 return false; |
440 } | 440 } |
441 | 441 |
442 virtual bool shouldUseInputMethod(); | |
443 virtual LayoutRect boundingBox() const; | 442 virtual LayoutRect boundingBox() const; |
444 IntRect pixelSnappedBoundingBox() const { return pixelSnappedIntRect(boundin
gBox()); } | 443 IntRect pixelSnappedBoundingBox() const { return pixelSnappedIntRect(boundin
gBox()); } |
445 | 444 |
446 // Returns true if the node has a non-empty bounding box in layout. | 445 // Returns true if the node has a non-empty bounding box in layout. |
447 // This does not 100% guarantee the user can see it, but is pretty close. | 446 // This does not 100% guarantee the user can see it, but is pretty close. |
448 // Note: This method only works properly after layout has occurred. | 447 // Note: This method only works properly after layout has occurred. |
449 bool hasNonEmptyBoundingBox() const; | 448 bool hasNonEmptyBoundingBox() const; |
450 | 449 |
451 unsigned nodeIndex() const; | 450 unsigned nodeIndex() const; |
452 | 451 |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
908 } // namespace blink | 907 } // namespace blink |
909 | 908 |
910 #ifndef NDEBUG | 909 #ifndef NDEBUG |
911 // Outside the WebCore namespace for ease of invocation from gdb. | 910 // Outside the WebCore namespace for ease of invocation from gdb. |
912 void showNode(const blink::Node*); | 911 void showNode(const blink::Node*); |
913 void showTree(const blink::Node*); | 912 void showTree(const blink::Node*); |
914 void showNodePath(const blink::Node*); | 913 void showNodePath(const blink::Node*); |
915 #endif | 914 #endif |
916 | 915 |
917 #endif | 916 #endif |
OLD | NEW |