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 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
(...skipping 3659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3670 SetFocusedElementDone: | 3670 SetFocusedElementDone: |
3671 updateRenderTreeIfNeeded(); | 3671 updateRenderTreeIfNeeded(); |
3672 if (LocalFrame* frame = this->frame()) | 3672 if (LocalFrame* frame = this->frame()) |
3673 frame->selection().didChangeFocus(); | 3673 frame->selection().didChangeFocus(); |
3674 return !focusChangeBlocked; | 3674 return !focusChangeBlocked; |
3675 } | 3675 } |
3676 | 3676 |
3677 void Document::setCSSTarget(Element* newTarget) | 3677 void Document::setCSSTarget(Element* newTarget) |
3678 { | 3678 { |
3679 if (m_cssTarget) | 3679 if (m_cssTarget) |
3680 m_cssTarget->didAffectSelector(AffectedSelectorTarget); | 3680 m_cssTarget->pseudoStateChanged(CSSSelector::PseudoTarget); |
3681 m_cssTarget = newTarget; | 3681 m_cssTarget = newTarget; |
3682 if (m_cssTarget) | 3682 if (m_cssTarget) |
3683 m_cssTarget->didAffectSelector(AffectedSelectorTarget); | 3683 m_cssTarget->pseudoStateChanged(CSSSelector::PseudoTarget); |
3684 } | 3684 } |
3685 | 3685 |
3686 void Document::registerNodeList(const LiveNodeListBase* list) | 3686 void Document::registerNodeList(const LiveNodeListBase* list) |
3687 { | 3687 { |
3688 #if ENABLE(OILPAN) | 3688 #if ENABLE(OILPAN) |
3689 m_nodeLists[list->invalidationType()].add(list); | 3689 m_nodeLists[list->invalidationType()].add(list); |
3690 #else | 3690 #else |
3691 m_nodeListCounts[list->invalidationType()]++; | 3691 m_nodeListCounts[list->invalidationType()]++; |
3692 #endif | 3692 #endif |
3693 if (list->isRootedAtDocument()) | 3693 if (list->isRootedAtDocument()) |
(...skipping 2156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5850 using namespace blink; | 5850 using namespace blink; |
5851 void showLiveDocumentInstances() | 5851 void showLiveDocumentInstances() |
5852 { | 5852 { |
5853 WeakDocumentSet& set = liveDocumentSet(); | 5853 WeakDocumentSet& set = liveDocumentSet(); |
5854 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 5854 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
5855 for (WeakDocumentSet::const_iterator it = set.begin(); it != set.end(); ++it
) { | 5855 for (WeakDocumentSet::const_iterator it = set.begin(); it != set.end(); ++it
) { |
5856 fprintf(stderr, "- Document %p URL: %s\n", *it, (*it)->url().string().ut
f8().data()); | 5856 fprintf(stderr, "- Document %p URL: %s\n", *it, (*it)->url().string().ut
f8().data()); |
5857 } | 5857 } |
5858 } | 5858 } |
5859 #endif | 5859 #endif |
OLD | NEW |