OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
5 * 2000 Simon Hausmann <hausmann@kde.org> | 5 * 2000 Simon Hausmann <hausmann@kde.org> |
6 * 2000 Stefan Schimanski <1Stein@gmx.de> | 6 * 2000 Stefan Schimanski <1Stein@gmx.de> |
7 * 2001 George Staikos <staikos@kde.org> | 7 * 2001 George Staikos <staikos@kde.org> |
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
9 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> | 9 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> |
10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 continue; | 539 continue; |
540 if (equalIgnoringFragmentIdentifier(toLocalFrame(frame)->document()->url
(), url)) { | 540 if (equalIgnoringFragmentIdentifier(toLocalFrame(frame)->document()->url
(), url)) { |
541 if (foundSelfReference) | 541 if (foundSelfReference) |
542 return false; | 542 return false; |
543 foundSelfReference = true; | 543 foundSelfReference = true; |
544 } | 544 } |
545 } | 545 } |
546 return true; | 546 return true; |
547 } | 547 } |
548 | 548 |
| 549 void LocalFrame::removeSpellingMarkersUnderWords(const Vector<String>& words) |
| 550 { |
| 551 spellChecker().removeSpellingMarkersUnderWords(words); |
| 552 } |
| 553 |
549 struct ScopedFramePaintingState { | 554 struct ScopedFramePaintingState { |
550 ScopedFramePaintingState(LocalFrame* frame, Node* node) | 555 ScopedFramePaintingState(LocalFrame* frame, Node* node) |
551 : frame(frame) | 556 : frame(frame) |
552 , node(node) | 557 , node(node) |
553 , paintBehavior(frame->view()->paintBehavior()) | 558 , paintBehavior(frame->view()->paintBehavior()) |
554 { | 559 { |
555 ASSERT(!node || node->renderer()); | 560 ASSERT(!node || node->renderer()); |
556 if (node) | 561 if (node) |
557 node->renderer()->updateDragState(true); | 562 node->renderer()->updateDragState(true); |
558 } | 563 } |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 LocalFrame* LocalFrame::localFrameRoot() | 665 LocalFrame* LocalFrame::localFrameRoot() |
661 { | 666 { |
662 LocalFrame* curFrame = this; | 667 LocalFrame* curFrame = this; |
663 while (curFrame && curFrame->tree().parent() && curFrame->tree().parent()->i
sLocalFrame()) | 668 while (curFrame && curFrame->tree().parent() && curFrame->tree().parent()->i
sLocalFrame()) |
664 curFrame = toLocalFrame(curFrame->tree().parent()); | 669 curFrame = toLocalFrame(curFrame->tree().parent()); |
665 | 670 |
666 return curFrame; | 671 return curFrame; |
667 } | 672 } |
668 | 673 |
669 } // namespace blink | 674 } // namespace blink |
OLD | NEW |