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 | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All |
7 * rights reserved. | 7 * rights reserved. |
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 #include "platform/text/SegmentedString.h" | 240 #include "platform/text/SegmentedString.h" |
241 #include "platform/weborigin/OriginAccessEntry.h" | 241 #include "platform/weborigin/OriginAccessEntry.h" |
242 #include "platform/weborigin/SchemeRegistry.h" | 242 #include "platform/weborigin/SchemeRegistry.h" |
243 #include "platform/weborigin/SecurityOrigin.h" | 243 #include "platform/weborigin/SecurityOrigin.h" |
244 #include "public/platform/InterfaceProvider.h" | 244 #include "public/platform/InterfaceProvider.h" |
245 #include "public/platform/Platform.h" | 245 #include "public/platform/Platform.h" |
246 #include "public/platform/WebAddressSpace.h" | 246 #include "public/platform/WebAddressSpace.h" |
247 #include "public/platform/WebPrerenderingSupport.h" | 247 #include "public/platform/WebPrerenderingSupport.h" |
248 #include "public/platform/WebScheduler.h" | 248 #include "public/platform/WebScheduler.h" |
249 #include "public/platform/modules/sensitive_input_visibility/sensitive_input_vis
ibility_service.mojom-blink.h" | 249 #include "public/platform/modules/sensitive_input_visibility/sensitive_input_vis
ibility_service.mojom-blink.h" |
| 250 #include "public/platform/site_engagement.mojom-blink.h" |
250 #include "wtf/AutoReset.h" | 251 #include "wtf/AutoReset.h" |
251 #include "wtf/CurrentTime.h" | 252 #include "wtf/CurrentTime.h" |
252 #include "wtf/DateMath.h" | 253 #include "wtf/DateMath.h" |
253 #include "wtf/Functional.h" | 254 #include "wtf/Functional.h" |
254 #include "wtf/HashFunctions.h" | 255 #include "wtf/HashFunctions.h" |
255 #include "wtf/PtrUtil.h" | 256 #include "wtf/PtrUtil.h" |
256 #include "wtf/StdLibExtras.h" | 257 #include "wtf/StdLibExtras.h" |
257 #include "wtf/text/CharacterNames.h" | 258 #include "wtf/text/CharacterNames.h" |
258 #include "wtf/text/StringBuffer.h" | 259 #include "wtf/text/StringBuffer.h" |
259 #include "wtf/text/TextEncodingRegistry.h" | 260 #include "wtf/text/TextEncodingRegistry.h" |
| 261 |
260 #include <memory> | 262 #include <memory> |
261 | 263 |
262 using namespace WTF; | 264 using namespace WTF; |
263 using namespace Unicode; | 265 using namespace Unicode; |
264 | 266 |
265 #ifndef NDEBUG | 267 #ifndef NDEBUG |
266 using WeakDocumentSet = | 268 using WeakDocumentSet = |
267 blink::PersistentHeapHashSet<blink::WeakMember<blink::Document>>; | 269 blink::PersistentHeapHashSet<blink::WeakMember<blink::Document>>; |
268 static WeakDocumentSet& liveDocumentSet(); | 270 static WeakDocumentSet& liveDocumentSet(); |
269 #endif | 271 #endif |
(...skipping 6270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6540 } | 6542 } |
6541 | 6543 |
6542 void showLiveDocumentInstances() { | 6544 void showLiveDocumentInstances() { |
6543 WeakDocumentSet& set = liveDocumentSet(); | 6545 WeakDocumentSet& set = liveDocumentSet(); |
6544 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 6546 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
6545 for (Document* document : set) | 6547 for (Document* document : set) |
6546 fprintf(stderr, "- Document %p URL: %s\n", document, | 6548 fprintf(stderr, "- Document %p URL: %s\n", document, |
6547 document->url().getString().utf8().data()); | 6549 document->url().getString().utf8().data()); |
6548 } | 6550 } |
6549 #endif | 6551 #endif |
OLD | NEW |