| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 virtual void showThis() OVERRIDE; | 81 virtual void showThis() OVERRIDE; |
| 82 #endif | 82 #endif |
| 83 | 83 |
| 84 void setClient(HTMLImportChildClient*); | 84 void setClient(HTMLImportChildClient*); |
| 85 void clearClient(); | 85 void clearClient(); |
| 86 bool loaderHasError() const; | 86 bool loaderHasError() const; |
| 87 | 87 |
| 88 void didFinishLoading(); | 88 void didFinishLoading(); |
| 89 void didFinishUpgradingCustomElements(); | 89 void didFinishUpgradingCustomElements(); |
| 90 bool isLoaded() const; | 90 bool isLoaded() const; |
| 91 void normalize(); |
| 91 | 92 |
| 92 private: | 93 private: |
| 93 // RawResourceOwner doing nothing. | 94 // RawResourceOwner doing nothing. |
| 94 // HTMLImportChild owns the resource so that the contents of prefetched Reso
urce doesn't go away. | 95 // HTMLImportChild owns the resource so that the contents of prefetched Reso
urce doesn't go away. |
| 95 virtual void responseReceived(Resource*, const ResourceResponse&) OVERRIDE {
} | 96 virtual void responseReceived(Resource*, const ResourceResponse&) OVERRIDE {
} |
| 96 virtual void dataReceived(Resource*, const char*, int) OVERRIDE { } | 97 virtual void dataReceived(Resource*, const char*, int) OVERRIDE { } |
| 97 virtual void notifyFinished(Resource*) OVERRIDE { } | 98 virtual void notifyFinished(Resource*) OVERRIDE { } |
| 98 | 99 |
| 99 void didFinish(); | 100 void didFinish(); |
| 100 void createLoader(); | 101 void createLoader(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 115 | 116 |
| 116 inline HTMLImportChild* toHTMLImportChild(HTMLImport* import) | 117 inline HTMLImportChild* toHTMLImportChild(HTMLImport* import) |
| 117 { | 118 { |
| 118 ASSERT(!import || import->isChild()); | 119 ASSERT(!import || import->isChild()); |
| 119 return static_cast<HTMLImportChild*>(import); | 120 return static_cast<HTMLImportChild*>(import); |
| 120 } | 121 } |
| 121 | 122 |
| 122 } // namespace WebCore | 123 } // namespace WebCore |
| 123 | 124 |
| 124 #endif // HTMLImportChild_h | 125 #endif // HTMLImportChild_h |
| OLD | NEW |