OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 21 matching lines...) Expand all Loading... |
32 #include "core/html/imports/HTMLImportChild.h" | 32 #include "core/html/imports/HTMLImportChild.h" |
33 | 33 |
34 #include "core/dom/Document.h" | 34 #include "core/dom/Document.h" |
35 #include "core/dom/custom/CustomElement.h" | 35 #include "core/dom/custom/CustomElement.h" |
36 #include "core/dom/custom/CustomElementMicrotaskImportStep.h" | 36 #include "core/dom/custom/CustomElementMicrotaskImportStep.h" |
37 #include "core/html/imports/HTMLImportChildClient.h" | 37 #include "core/html/imports/HTMLImportChildClient.h" |
38 #include "core/html/imports/HTMLImportLoader.h" | 38 #include "core/html/imports/HTMLImportLoader.h" |
39 | 39 |
40 namespace WebCore { | 40 namespace WebCore { |
41 | 41 |
42 HTMLImportChild::HTMLImportChild(Document& master, const KURL& url, bool sync) | 42 HTMLImportChild::HTMLImportChild(Document& master, const KURL& url, SyncMode syn
c) |
43 : HTMLImport(sync) | 43 : HTMLImport(sync) |
44 , m_master(master) | 44 , m_master(master) |
45 , m_url(url) | 45 , m_url(url) |
46 , m_customElementMicrotaskStep(0) | 46 , m_customElementMicrotaskStep(0) |
47 , m_client(0) | 47 , m_client(0) |
48 { | 48 { |
49 m_master.guardRef(); | 49 m_master.guardRef(); |
50 } | 50 } |
51 | 51 |
52 HTMLImportChild::~HTMLImportChild() | 52 HTMLImportChild::~HTMLImportChild() |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 HTMLImport::showThis(); | 248 HTMLImport::showThis(); |
249 fprintf(stderr, " loader=%p own=%s async=%s url=%s", | 249 fprintf(stderr, " loader=%p own=%s async=%s url=%s", |
250 m_loader.get(), | 250 m_loader.get(), |
251 hasLoader() && ownsLoader() ? "Y" : "N", | 251 hasLoader() && ownsLoader() ? "Y" : "N", |
252 isSync() ? "Y" : "N", | 252 isSync() ? "Y" : "N", |
253 url().string().utf8().data()); | 253 url().string().utf8().data()); |
254 } | 254 } |
255 #endif | 255 #endif |
256 | 256 |
257 } // namespace WebCore | 257 } // namespace WebCore |
OLD | NEW |