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 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
600 | 600 |
601 ASSERT(AXObjectCache::accessibilityEnabled()); | 601 ASSERT(AXObjectCache::accessibilityEnabled()); |
602 ASSERT(document().existingAXObjectCache()); | 602 ASSERT(document().existingAXObjectCache()); |
603 | 603 |
604 if (AXObjectCache* cache = document().existingAXObjectCache()) | 604 if (AXObjectCache* cache = document().existingAXObjectCache()) |
605 return cache->rootAXEditableElement(this); | 605 return cache->rootAXEditableElement(this); |
606 | 606 |
607 return false; | 607 return false; |
608 } | 608 } |
609 | 609 |
610 bool Node::shouldUseInputMethod() | |
611 { | |
612 return isContentEditable(UserSelectAllIsAlwaysNonEditable); | |
613 } | |
614 | |
615 RenderBox* Node::renderBox() const | 610 RenderBox* Node::renderBox() const |
616 { | 611 { |
617 RenderObject* renderer = this->renderer(); | 612 RenderObject* renderer = this->renderer(); |
618 return renderer && renderer->isBox() ? toRenderBox(renderer) : 0; | 613 return renderer && renderer->isBox() ? toRenderBox(renderer) : 0; |
619 } | 614 } |
620 | 615 |
621 RenderBoxModelObject* Node::renderBoxModelObject() const | 616 RenderBoxModelObject* Node::renderBoxModelObject() const |
622 { | 617 { |
623 RenderObject* renderer = this->renderer(); | 618 RenderObject* renderer = this->renderer(); |
624 return renderer && renderer->isBoxModelObject() ? toRenderBoxModelObject(ren
derer) : 0; | 619 return renderer && renderer->isBoxModelObject() ? toRenderBoxModelObject(ren
derer) : 0; |
(...skipping 1954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2579 node->showTreeForThis(); | 2574 node->showTreeForThis(); |
2580 } | 2575 } |
2581 | 2576 |
2582 void showNodePath(const blink::Node* node) | 2577 void showNodePath(const blink::Node* node) |
2583 { | 2578 { |
2584 if (node) | 2579 if (node) |
2585 node->showNodePathForThis(); | 2580 node->showNodePathForThis(); |
2586 } | 2581 } |
2587 | 2582 |
2588 #endif | 2583 #endif |
OLD | NEW |