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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 , m_sharedObjectPoolClearTimer(this, &Document::sharedObjectPoolClearTimerFi
red) | 467 , m_sharedObjectPoolClearTimer(this, &Document::sharedObjectPoolClearTimerFi
red) |
468 #ifndef NDEBUG | 468 #ifndef NDEBUG |
469 , m_didDispatchViewportPropertiesChanged(false) | 469 , m_didDispatchViewportPropertiesChanged(false) |
470 #endif | 470 #endif |
471 , m_templateDocumentHost(0) | 471 , m_templateDocumentHost(0) |
472 #if ENABLE(FONT_LOAD_EVENTS) | 472 #if ENABLE(FONT_LOAD_EVENTS) |
473 , m_fontloader(0) | 473 , m_fontloader(0) |
474 #endif | 474 #endif |
475 , m_didAssociateFormControlsTimer(this, &Document::didAssociateFormControlsT
imerFired) | 475 , m_didAssociateFormControlsTimer(this, &Document::didAssociateFormControlsT
imerFired) |
476 { | 476 { |
| 477 ScriptWrappable::init(this); |
477 m_printing = false; | 478 m_printing = false; |
478 m_paginatedForScreen = false; | 479 m_paginatedForScreen = false; |
479 | 480 |
480 m_ignoreAutofocus = false; | 481 m_ignoreAutofocus = false; |
481 | 482 |
482 m_frame = frame; | 483 m_frame = frame; |
483 if (m_frame) | 484 if (m_frame) |
484 provideContextFeaturesToDocumentFrom(this, m_frame->page()); | 485 provideContextFeaturesToDocumentFrom(this, m_frame->page()); |
485 | 486 |
486 // We depend on the url getting immediately set in subframes, but we | 487 // We depend on the url getting immediately set in subframes, but we |
(...skipping 5519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6006 return; | 6007 return; |
6007 | 6008 |
6008 Vector<RefPtr<Element> > associatedFormControls; | 6009 Vector<RefPtr<Element> > associatedFormControls; |
6009 copyToVector(m_associatedFormControls, associatedFormControls); | 6010 copyToVector(m_associatedFormControls, associatedFormControls); |
6010 | 6011 |
6011 frame()->page()->chrome()->client()->didAssociateFormControls(associatedForm
Controls); | 6012 frame()->page()->chrome()->client()->didAssociateFormControls(associatedForm
Controls); |
6012 m_associatedFormControls.clear(); | 6013 m_associatedFormControls.clear(); |
6013 } | 6014 } |
6014 | 6015 |
6015 } // namespace WebCore | 6016 } // namespace WebCore |
OLD | NEW |