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, 2010, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 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) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1052 void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDoc
umentHost = templateDocumentHost; } | 1052 void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDoc
umentHost = templateDocumentHost; } |
1053 Document* templateDocumentHost() { return m_templateDocumentHost; } | 1053 Document* templateDocumentHost() { return m_templateDocumentHost; } |
1054 | 1054 |
1055 void didAssociateFormControl(Element*); | 1055 void didAssociateFormControl(Element*); |
1056 | 1056 |
1057 void addConsoleMessageWithRequestIdentifier(MessageSource, MessageLevel, con
st String& message, unsigned long requestIdentifier); | 1057 void addConsoleMessageWithRequestIdentifier(MessageSource, MessageLevel, con
st String& message, unsigned long requestIdentifier); |
1058 | 1058 |
1059 virtual DOMWindow* executingWindow() OVERRIDE { return domWindow(); } | 1059 virtual DOMWindow* executingWindow() OVERRIDE { return domWindow(); } |
1060 virtual void userEventWasHandled() OVERRIDE { resetLastHandledUserGestureTim
estamp(); } | 1060 virtual void userEventWasHandled() OVERRIDE { resetLastHandledUserGestureTim
estamp(); } |
1061 | 1061 |
1062 PassRefPtr<FontFaceSet> fonts(); | 1062 // Can never return null. |
| 1063 FontFaceSet* fonts(); |
1063 DocumentLifecycleNotifier* lifecycleNotifier(); | 1064 DocumentLifecycleNotifier* lifecycleNotifier(); |
1064 bool isActive() const { return m_lifecyle.state() == DocumentLifecycle::Acti
ve; } | 1065 bool isActive() const { return m_lifecyle.state() == DocumentLifecycle::Acti
ve; } |
1065 bool isStopping() const { return m_lifecyle.state() == DocumentLifecycle::St
opping; } | 1066 bool isStopping() const { return m_lifecyle.state() == DocumentLifecycle::St
opping; } |
1066 | 1067 |
1067 enum HttpRefreshType { | 1068 enum HttpRefreshType { |
1068 HttpRefreshFromHeader, | 1069 HttpRefreshFromHeader, |
1069 HttpRefreshFromMetaTag | 1070 HttpRefreshFromMetaTag |
1070 }; | 1071 }; |
1071 void maybeHandleHttpRefresh(const String&, HttpRefreshType); | 1072 void maybeHandleHttpRefresh(const String&, HttpRefreshType); |
1072 | 1073 |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1436 inline bool Node::isDocumentNode() const | 1437 inline bool Node::isDocumentNode() const |
1437 { | 1438 { |
1438 return this == documentInternal(); | 1439 return this == documentInternal(); |
1439 } | 1440 } |
1440 | 1441 |
1441 Node* eventTargetNodeForDocument(Document*); | 1442 Node* eventTargetNodeForDocument(Document*); |
1442 | 1443 |
1443 } // namespace WebCore | 1444 } // namespace WebCore |
1444 | 1445 |
1445 #endif // Document_h | 1446 #endif // Document_h |
OLD | NEW |