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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
77 | 77 |
78 #if !defined(NDEBUG) | 78 #if !defined(NDEBUG) |
79 virtual void showThis() OVERRIDE; | 79 virtual void showThis() OVERRIDE; |
80 #endif | 80 #endif |
81 | 81 |
82 void setClient(HTMLImportChildClient*); | 82 void setClient(HTMLImportChildClient*); |
83 void clearClient(); | 83 void clearClient(); |
84 bool loaderHasError() const; | 84 bool loaderHasError() const; |
85 | 85 |
86 void didFinishLoading(); | 86 void didFinishLoading(); |
87 void didFinishMicrotask(); | |
dominicc (has gone to gerrit)
2014/04/30 23:57:20
I think this name is too vague to the point of bei
| |
87 | 88 |
88 private: | 89 private: |
89 // RawResourceOwner doing nothing. | 90 // RawResourceOwner doing nothing. |
90 // HTMLImportChild owns the resource so that the contents of prefetched Reso urce doesn't go away. | 91 // HTMLImportChild owns the resource so that the contents of prefetched Reso urce doesn't go away. |
91 virtual void responseReceived(Resource*, const ResourceResponse&) OVERRIDE { } | 92 virtual void responseReceived(Resource*, const ResourceResponse&) OVERRIDE { } |
92 virtual void dataReceived(Resource*, const char*, int) OVERRIDE { } | 93 virtual void dataReceived(Resource*, const char*, int) OVERRIDE { } |
93 virtual void notifyFinished(Resource*) OVERRIDE { } | 94 virtual void notifyFinished(Resource*) OVERRIDE { } |
94 | 95 |
95 void didFinish(); | 96 void didFinish(); |
96 void createLoader(); | 97 void createLoader(); |
(...skipping 13 matching lines...) Expand all Loading... | |
110 | 111 |
111 inline HTMLImportChild* toHTMLImportChild(HTMLImport* import) | 112 inline HTMLImportChild* toHTMLImportChild(HTMLImport* import) |
112 { | 113 { |
113 ASSERT(!import || import->isChild()); | 114 ASSERT(!import || import->isChild()); |
114 return static_cast<HTMLImportChild*>(import); | 115 return static_cast<HTMLImportChild*>(import); |
115 } | 116 } |
116 | 117 |
117 } // namespace WebCore | 118 } // namespace WebCore |
118 | 119 |
119 #endif // HTMLImportChild_h | 120 #endif // HTMLImportChild_h |
OLD | NEW |