| 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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 , m_updateFocusAppearanceTimer(this, &Document::updateFocusAppearanceTimerFi
red) | 443 , m_updateFocusAppearanceTimer(this, &Document::updateFocusAppearanceTimerFi
red) |
| 444 , m_loadEventFinished(false) | 444 , m_loadEventFinished(false) |
| 445 , m_startTime(currentTime()) | 445 , m_startTime(currentTime()) |
| 446 , m_overMinimumLayoutThreshold(false) | 446 , m_overMinimumLayoutThreshold(false) |
| 447 , m_scriptRunner(ScriptRunner::create(this)) | 447 , m_scriptRunner(ScriptRunner::create(this)) |
| 448 , m_xmlVersion("1.0") | 448 , m_xmlVersion("1.0") |
| 449 , m_xmlStandalone(StandaloneUnspecified) | 449 , m_xmlStandalone(StandaloneUnspecified) |
| 450 , m_hasXMLDeclaration(0) | 450 , m_hasXMLDeclaration(0) |
| 451 , m_savedRenderer(0) | 451 , m_savedRenderer(0) |
| 452 , m_designMode(inherit) | 452 , m_designMode(inherit) |
| 453 #if ENABLE(DASHBOARD_SUPPORT) || ENABLE(DRAGGABLE_REGION) | 453 #if ENABLE(DRAGGABLE_REGION) |
| 454 , m_hasAnnotatedRegions(false) | 454 , m_hasAnnotatedRegions(false) |
| 455 , m_annotatedRegionsDirty(false) | 455 , m_annotatedRegionsDirty(false) |
| 456 #endif | 456 #endif |
| 457 , m_createRenderers(true) | 457 , m_createRenderers(true) |
| 458 , m_inPageCache(false) | 458 , m_inPageCache(false) |
| 459 , m_accessKeyMapValid(false) | 459 , m_accessKeyMapValid(false) |
| 460 , m_useSecureKeyboardEntryWhenActive(false) | 460 , m_useSecureKeyboardEntryWhenActive(false) |
| 461 , m_isXHTML(isXHTML) | 461 , m_isXHTML(isXHTML) |
| 462 , m_isHTML(isHTML) | 462 , m_isHTML(isHTML) |
| 463 , m_isViewSource(false) | 463 , m_isViewSource(false) |
| (...skipping 2883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3347 void Document::activeChainNodeDetached(Node* node) | 3347 void Document::activeChainNodeDetached(Node* node) |
| 3348 { | 3348 { |
| 3349 if (!m_activeElement || (node != m_activeElement && (!m_activeElement->isTex
tNode() || node != m_activeElement->parentNode()))) | 3349 if (!m_activeElement || (node != m_activeElement && (!m_activeElement->isTex
tNode() || node != m_activeElement->parentNode()))) |
| 3350 return; | 3350 return; |
| 3351 | 3351 |
| 3352 m_activeElement = node->parentElement(); | 3352 m_activeElement = node->parentElement(); |
| 3353 while (m_activeElement && !m_activeElement->renderer()) | 3353 while (m_activeElement && !m_activeElement->renderer()) |
| 3354 m_activeElement = m_activeElement->parentElement(); | 3354 m_activeElement = m_activeElement->parentElement(); |
| 3355 } | 3355 } |
| 3356 | 3356 |
| 3357 #if ENABLE(DASHBOARD_SUPPORT) || ENABLE(DRAGGABLE_REGION) | 3357 #if ENABLE(DRAGGABLE_REGION) |
| 3358 const Vector<AnnotatedRegionValue>& Document::annotatedRegions() const | 3358 const Vector<AnnotatedRegionValue>& Document::annotatedRegions() const |
| 3359 { | 3359 { |
| 3360 return m_annotatedRegions; | 3360 return m_annotatedRegions; |
| 3361 } | 3361 } |
| 3362 | 3362 |
| 3363 void Document::setAnnotatedRegions(const Vector<AnnotatedRegionValue>& regions) | 3363 void Document::setAnnotatedRegions(const Vector<AnnotatedRegionValue>& regions) |
| 3364 { | 3364 { |
| 3365 m_annotatedRegions = regions; | 3365 m_annotatedRegions = regions; |
| 3366 setAnnotatedRegionsDirty(false); | 3366 setAnnotatedRegionsDirty(false); |
| 3367 } | 3367 } |
| (...skipping 2675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6043 info.addMember(m_styleSheetCollection, "styleSheetCollection"); | 6043 info.addMember(m_styleSheetCollection, "styleSheetCollection"); |
| 6044 info.addMember(m_styleSheetList, "styleSheetList"); | 6044 info.addMember(m_styleSheetList, "styleSheetList"); |
| 6045 info.addMember(m_formController, "formController"); | 6045 info.addMember(m_formController, "formController"); |
| 6046 info.addMember(m_nodeIterators, "nodeIterators"); | 6046 info.addMember(m_nodeIterators, "nodeIterators"); |
| 6047 info.addMember(m_ranges, "ranges"); | 6047 info.addMember(m_ranges, "ranges"); |
| 6048 info.addMember(m_title.string(), "title.string()"); | 6048 info.addMember(m_title.string(), "title.string()"); |
| 6049 info.addMember(m_rawTitle.string(), "rawTitle.string()"); | 6049 info.addMember(m_rawTitle.string(), "rawTitle.string()"); |
| 6050 info.addMember(m_xmlEncoding, "xmlEncoding"); | 6050 info.addMember(m_xmlEncoding, "xmlEncoding"); |
| 6051 info.addMember(m_xmlVersion, "xmlVersion"); | 6051 info.addMember(m_xmlVersion, "xmlVersion"); |
| 6052 info.addMember(m_contentLanguage, "contentLanguage"); | 6052 info.addMember(m_contentLanguage, "contentLanguage"); |
| 6053 #if ENABLE(DASHBOARD_SUPPORT) || ENABLE(DRAGGABLE_REGION) | 6053 #if ENABLE(DRAGGABLE_REGION) |
| 6054 info.addMember(m_annotatedRegions, "annotatedRegions"); | 6054 info.addMember(m_annotatedRegions, "annotatedRegions"); |
| 6055 #endif | 6055 #endif |
| 6056 info.addMember(m_cssCanvasElements, "cssCanvasElements"); | 6056 info.addMember(m_cssCanvasElements, "cssCanvasElements"); |
| 6057 info.addMember(m_iconURLs, "iconURLs"); | 6057 info.addMember(m_iconURLs, "iconURLs"); |
| 6058 info.addMember(m_documentSuspensionCallbackElements, "documentSuspensionCall
backElements"); | 6058 info.addMember(m_documentSuspensionCallbackElements, "documentSuspensionCall
backElements"); |
| 6059 info.addMember(m_mediaVolumeCallbackElements, "mediaVolumeCallbackElements")
; | 6059 info.addMember(m_mediaVolumeCallbackElements, "mediaVolumeCallbackElements")
; |
| 6060 info.addMember(m_privateBrowsingStateChangedElements, "privateBrowsingStateC
hangedElements"); | 6060 info.addMember(m_privateBrowsingStateChangedElements, "privateBrowsingStateC
hangedElements"); |
| 6061 info.addMember(m_elementsByAccessKey, "elementsByAccessKey"); | 6061 info.addMember(m_elementsByAccessKey, "elementsByAccessKey"); |
| 6062 info.addMember(m_eventQueue, "eventQueue"); | 6062 info.addMember(m_eventQueue, "eventQueue"); |
| 6063 info.addMember(m_mediaCanStartListeners, "mediaCanStartListeners"); | 6063 info.addMember(m_mediaCanStartListeners, "mediaCanStartListeners"); |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6196 return; | 6196 return; |
| 6197 | 6197 |
| 6198 Vector<RefPtr<Element> > associatedFormControls; | 6198 Vector<RefPtr<Element> > associatedFormControls; |
| 6199 copyToVector(m_associatedFormControls, associatedFormControls); | 6199 copyToVector(m_associatedFormControls, associatedFormControls); |
| 6200 | 6200 |
| 6201 frame()->page()->chrome()->client()->didAssociateFormControls(associatedForm
Controls); | 6201 frame()->page()->chrome()->client()->didAssociateFormControls(associatedForm
Controls); |
| 6202 m_associatedFormControls.clear(); | 6202 m_associatedFormControls.clear(); |
| 6203 } | 6203 } |
| 6204 | 6204 |
| 6205 } // namespace WebCore | 6205 } // namespace WebCore |
| OLD | NEW |