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

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

Issue 1119033003: Sever HTMLImportChild client connection upon disposal. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 // LinkResource 58 // LinkResource
59 virtual void process() override; 59 virtual void process() override;
60 virtual Type type() const override { return Import; } 60 virtual Type type() const override { return Import; }
61 virtual bool hasLoaded() const override; 61 virtual bool hasLoaded() const override;
62 DECLARE_VIRTUAL_TRACE(); 62 DECLARE_VIRTUAL_TRACE();
63 virtual void ownerInserted() override; 63 virtual void ownerInserted() override;
64 64
65 // HTMLImportChildClient 65 // HTMLImportChildClient
66 virtual void didFinish() override; 66 virtual void didFinish() override;
67 #if !ENABLE(OILPAN) 67 virtual void importChildWasDisposed(HTMLImportChild*) override;
68 virtual void importChildWasDestroyed(HTMLImportChild*) override;
69 #endif
70 virtual bool isSync() const override; 68 virtual bool isSync() const override;
71 virtual HTMLLinkElement* link() override; 69 virtual HTMLLinkElement* link() override;
72 70
73 Document* importedDocument() const; 71 Document* importedDocument() const;
74 72
75 private: 73 private:
76 RawPtrWillBeMember<HTMLImportChild> m_child; 74 RawPtrWillBeMember<HTMLImportChild> m_child;
77 }; 75 };
78 76
79 } // namespace blink 77 } // namespace blink
80 78
81 #endif // LinkImport_h 79 #endif // LinkImport_h
OLDNEW
« no previous file with comments | « Source/core/html/imports/HTMLImportChildClient.h ('k') | Source/core/html/imports/LinkImport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698