Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Side by Side Diff: Source/core/html/imports/HTMLImportChild.h

Issue 238923009: HTML Imports: No more BlockingDocumentCreation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased to ToT. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/imports/HTMLImport.cpp ('k') | Source/core/html/imports/HTMLImportChild.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 const KURL& url() const { return m_url; } 63 const KURL& url() const { return m_url; }
64 64
65 void wasAlreadyLoaded(); 65 void wasAlreadyLoaded();
66 void startLoading(const ResourcePtr<RawResource>&); 66 void startLoading(const ResourcePtr<RawResource>&);
67 void importDestroyed(); 67 void importDestroyed();
68 68
69 // HTMLImport 69 // HTMLImport
70 virtual bool isChild() const OVERRIDE { return true; } 70 virtual bool isChild() const OVERRIDE { return true; }
71 virtual Document* document() const OVERRIDE; 71 virtual Document* document() const OVERRIDE;
72 virtual bool isDone() const OVERRIDE; 72 virtual bool isDone() const OVERRIDE;
73 virtual bool hasLoader() const OVERRIDE; 73 virtual HTMLImportLoader* loader() const OVERRIDE { return m_loader; }
74 virtual bool ownsLoader() const OVERRIDE;
75 virtual CustomElementMicrotaskImportStep* customElementMicrotaskStep() const OVERRIDE FINAL { return m_customElementMicrotaskStep; }
76 virtual void stateWillChange() OVERRIDE; 74 virtual void stateWillChange() OVERRIDE;
77 virtual void stateDidChange() OVERRIDE; 75 virtual void stateDidChange() OVERRIDE;
78 76
79 #if !defined(NDEBUG) 77 #if !defined(NDEBUG)
80 virtual void showThis() OVERRIDE; 78 virtual void showThis() OVERRIDE;
81 #endif 79 #endif
82 80
83 void setClient(HTMLImportChildClient*); 81 void setClient(HTMLImportChildClient*);
84 void clearClient(); 82 void clearClient();
85 bool loaderHasError() const; 83 bool loaderHasError() const;
(...skipping 21 matching lines...) Expand all
107 105
108 inline HTMLImportChild* toHTMLImportChild(HTMLImport* import) 106 inline HTMLImportChild* toHTMLImportChild(HTMLImport* import)
109 { 107 {
110 ASSERT(!import || import->isChild()); 108 ASSERT(!import || import->isChild());
111 return static_cast<HTMLImportChild*>(import); 109 return static_cast<HTMLImportChild*>(import);
112 } 110 }
113 111
114 } // namespace WebCore 112 } // namespace WebCore
115 113
116 #endif // HTMLImportChild_h 114 #endif // HTMLImportChild_h
OLDNEW
« no previous file with comments | « Source/core/html/imports/HTMLImport.cpp ('k') | Source/core/html/imports/HTMLImportChild.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698