| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 #include "core/layout/TextAutosizer.h" | 177 #include "core/layout/TextAutosizer.h" |
| 178 #include "core/layout/compositing/PaintLayerCompositor.h" | 178 #include "core/layout/compositing/PaintLayerCompositor.h" |
| 179 #include "core/loader/CookieJar.h" | 179 #include "core/loader/CookieJar.h" |
| 180 #include "core/loader/DocumentLoader.h" | 180 #include "core/loader/DocumentLoader.h" |
| 181 #include "core/loader/FrameFetchContext.h" | 181 #include "core/loader/FrameFetchContext.h" |
| 182 #include "core/loader/FrameLoader.h" | 182 #include "core/loader/FrameLoader.h" |
| 183 #include "core/loader/FrameLoaderClient.h" | 183 #include "core/loader/FrameLoaderClient.h" |
| 184 #include "core/loader/ImageLoader.h" | 184 #include "core/loader/ImageLoader.h" |
| 185 #include "core/loader/NavigationScheduler.h" | 185 #include "core/loader/NavigationScheduler.h" |
| 186 #include "core/loader/appcache/ApplicationCacheHost.h" | 186 #include "core/loader/appcache/ApplicationCacheHost.h" |
| 187 #include "core/origin_trials/DocumentOriginTrialContext.h" | |
| 188 #include "core/page/ChromeClient.h" | 187 #include "core/page/ChromeClient.h" |
| 189 #include "core/page/EventWithHitTestResults.h" | 188 #include "core/page/EventWithHitTestResults.h" |
| 190 #include "core/page/FocusController.h" | 189 #include "core/page/FocusController.h" |
| 191 #include "core/page/FrameTree.h" | 190 #include "core/page/FrameTree.h" |
| 192 #include "core/page/Page.h" | 191 #include "core/page/Page.h" |
| 193 #include "core/page/PointerLockController.h" | 192 #include "core/page/PointerLockController.h" |
| 194 #include "core/page/scrolling/ScrollingCoordinator.h" | 193 #include "core/page/scrolling/ScrollingCoordinator.h" |
| 195 #include "core/svg/SVGDocumentExtensions.h" | 194 #include "core/svg/SVGDocumentExtensions.h" |
| 196 #include "core/svg/SVGTitleElement.h" | 195 #include "core/svg/SVGTitleElement.h" |
| 197 #include "core/svg/SVGUseElement.h" | 196 #include "core/svg/SVGUseElement.h" |
| (...skipping 5750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5948 return Platform::current()->currentThread()->scheduler()->timerTaskRunner(); | 5947 return Platform::current()->currentThread()->scheduler()->timerTaskRunner(); |
| 5949 } | 5948 } |
| 5950 | 5949 |
| 5951 void Document::enforceStrictMixedContentChecking() | 5950 void Document::enforceStrictMixedContentChecking() |
| 5952 { | 5951 { |
| 5953 securityContext().setShouldEnforceStrictMixedContentChecking(true); | 5952 securityContext().setShouldEnforceStrictMixedContentChecking(true); |
| 5954 if (frame()) | 5953 if (frame()) |
| 5955 frame()->loader().client()->didEnforceStrictMixedContentChecking(); | 5954 frame()->loader().client()->didEnforceStrictMixedContentChecking(); |
| 5956 } | 5955 } |
| 5957 | 5956 |
| 5958 PassOwnPtrWillBeRawPtr<OriginTrialContext> Document::createOriginTrialContext() | |
| 5959 { | |
| 5960 return adoptPtrWillBeNoop(new DocumentOriginTrialContext(this)); | |
| 5961 } | |
| 5962 | |
| 5963 DEFINE_TRACE(Document) | 5957 DEFINE_TRACE(Document) |
| 5964 { | 5958 { |
| 5965 #if ENABLE(OILPAN) | 5959 #if ENABLE(OILPAN) |
| 5966 visitor->trace(m_importsController); | 5960 visitor->trace(m_importsController); |
| 5967 visitor->trace(m_docType); | 5961 visitor->trace(m_docType); |
| 5968 visitor->trace(m_implementation); | 5962 visitor->trace(m_implementation); |
| 5969 visitor->trace(m_autofocusElement); | 5963 visitor->trace(m_autofocusElement); |
| 5970 visitor->trace(m_focusedElement); | 5964 visitor->trace(m_focusedElement); |
| 5971 visitor->trace(m_sequentialFocusNavigationStartingPoint); | 5965 visitor->trace(m_sequentialFocusNavigationStartingPoint); |
| 5972 visitor->trace(m_hoverNode); | 5966 visitor->trace(m_hoverNode); |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6034 #ifndef NDEBUG | 6028 #ifndef NDEBUG |
| 6035 using namespace blink; | 6029 using namespace blink; |
| 6036 void showLiveDocumentInstances() | 6030 void showLiveDocumentInstances() |
| 6037 { | 6031 { |
| 6038 Document::WeakDocumentSet& set = Document::liveDocumentSet(); | 6032 Document::WeakDocumentSet& set = Document::liveDocumentSet(); |
| 6039 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 6033 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
| 6040 for (Document* document : set) | 6034 for (Document* document : set) |
| 6041 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().get
String().utf8().data()); | 6035 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().get
String().utf8().data()); |
| 6042 } | 6036 } |
| 6043 #endif | 6037 #endif |
| OLD | NEW |