| 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 2855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2866 const KURL& Document::virtualURL() const | 2866 const KURL& Document::virtualURL() const |
| 2867 { | 2867 { |
| 2868 return m_url; | 2868 return m_url; |
| 2869 } | 2869 } |
| 2870 | 2870 |
| 2871 KURL Document::virtualCompleteURL(const String& url) const | 2871 KURL Document::virtualCompleteURL(const String& url) const |
| 2872 { | 2872 { |
| 2873 return completeURL(url); | 2873 return completeURL(url); |
| 2874 } | 2874 } |
| 2875 | 2875 |
| 2876 double Document::timerAlignmentInterval() const | |
| 2877 { | |
| 2878 Page* p = page(); | |
| 2879 if (!p) | |
| 2880 return DOMTimer::visiblePageAlignmentInterval(); | |
| 2881 return p->timerAlignmentInterval(); | |
| 2882 } | |
| 2883 | |
| 2884 DOMTimerCoordinator* Document::timers() | 2876 DOMTimerCoordinator* Document::timers() |
| 2885 { | 2877 { |
| 2886 return &m_timers; | 2878 return &m_timers; |
| 2887 } | 2879 } |
| 2888 | 2880 |
| 2889 EventTarget* Document::errorEventTarget() | 2881 EventTarget* Document::errorEventTarget() |
| 2890 { | 2882 { |
| 2891 return domWindow(); | 2883 return domWindow(); |
| 2892 } | 2884 } |
| 2893 | 2885 |
| (...skipping 2938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5832 #ifndef NDEBUG | 5824 #ifndef NDEBUG |
| 5833 using namespace blink; | 5825 using namespace blink; |
| 5834 void showLiveDocumentInstances() | 5826 void showLiveDocumentInstances() |
| 5835 { | 5827 { |
| 5836 Document::WeakDocumentSet& set = Document::liveDocumentSet(); | 5828 Document::WeakDocumentSet& set = Document::liveDocumentSet(); |
| 5837 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 5829 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
| 5838 for (Document* document : set) | 5830 for (Document* document : set) |
| 5839 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().str
ing().utf8().data()); | 5831 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().str
ing().utf8().data()); |
| 5840 } | 5832 } |
| 5841 #endif | 5833 #endif |
| OLD | NEW |