| 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 5234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5245 m_templateDocument = HTMLDocument::create(init); | 5245 m_templateDocument = HTMLDocument::create(init); |
| 5246 } else { | 5246 } else { |
| 5247 m_templateDocument = Document::create(DocumentInit(blankURL())); | 5247 m_templateDocument = Document::create(DocumentInit(blankURL())); |
| 5248 } | 5248 } |
| 5249 | 5249 |
| 5250 m_templateDocument->setTemplateDocumentHost(this); // balanced in dtor. | 5250 m_templateDocument->setTemplateDocumentHost(this); // balanced in dtor. |
| 5251 | 5251 |
| 5252 return *m_templateDocument.get(); | 5252 return *m_templateDocument.get(); |
| 5253 } | 5253 } |
| 5254 | 5254 |
| 5255 PassRefPtr<FontFaceSet> Document::fonts() | 5255 FontFaceSet* Document::fonts() |
| 5256 { | 5256 { |
| 5257 if (!m_fonts) | 5257 if (!m_fonts) |
| 5258 m_fonts = FontFaceSet::create(this); | 5258 m_fonts = FontFaceSet::create(this); |
| 5259 return m_fonts; | 5259 return m_fonts.get(); |
| 5260 } | 5260 } |
| 5261 | 5261 |
| 5262 void Document::didAssociateFormControl(Element* element) | 5262 void Document::didAssociateFormControl(Element* element) |
| 5263 { | 5263 { |
| 5264 if (!frame() || !frame()->page()) | 5264 if (!frame() || !frame()->page()) |
| 5265 return; | 5265 return; |
| 5266 m_associatedFormControls.add(element); | 5266 m_associatedFormControls.add(element); |
| 5267 if (!m_didAssociateFormControlsTimer.isActive()) | 5267 if (!m_didAssociateFormControlsTimer.isActive()) |
| 5268 m_didAssociateFormControlsTimer.startOneShot(0); | 5268 m_didAssociateFormControlsTimer.startOneShot(0); |
| 5269 } | 5269 } |
| (...skipping 20 matching lines...) Expand all Loading... |
| 5290 { | 5290 { |
| 5291 return DocumentLifecycleNotifier::create(this); | 5291 return DocumentLifecycleNotifier::create(this); |
| 5292 } | 5292 } |
| 5293 | 5293 |
| 5294 DocumentLifecycleNotifier* Document::lifecycleNotifier() | 5294 DocumentLifecycleNotifier* Document::lifecycleNotifier() |
| 5295 { | 5295 { |
| 5296 return static_cast<DocumentLifecycleNotifier*>(ExecutionContext::lifecycleNo
tifier()); | 5296 return static_cast<DocumentLifecycleNotifier*>(ExecutionContext::lifecycleNo
tifier()); |
| 5297 } | 5297 } |
| 5298 | 5298 |
| 5299 } // namespace WebCore | 5299 } // namespace WebCore |
| OLD | NEW |