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

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

Issue 331763002: HTML Imports: styles in removed imports should be applied when it comes back (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/HTMLImportChild.cpp ('k') | Source/core/html/imports/LinkImport.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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 static PassOwnPtrWillBeRawPtr<LinkImport> create(HTMLLinkElement* owner); 53 static PassOwnPtrWillBeRawPtr<LinkImport> create(HTMLLinkElement* owner);
54 54
55 explicit LinkImport(HTMLLinkElement* owner); 55 explicit LinkImport(HTMLLinkElement* owner);
56 virtual ~LinkImport(); 56 virtual ~LinkImport();
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 virtual void trace(Visitor*) OVERRIDE; 62 virtual void trace(Visitor*) OVERRIDE;
63 virtual void ownerInserted() OVERRIDE;
63 64
64 // HTMLImportChildClient 65 // HTMLImportChildClient
65 virtual void didFinish() OVERRIDE; 66 virtual void didFinish() OVERRIDE;
66 #if !ENABLE(OILPAN) 67 #if !ENABLE(OILPAN)
67 virtual void importChildWasDestroyed(HTMLImportChild*) OVERRIDE; 68 virtual void importChildWasDestroyed(HTMLImportChild*) OVERRIDE;
68 #endif 69 #endif
69 virtual bool isSync() const OVERRIDE; 70 virtual bool isSync() const OVERRIDE;
70 virtual HTMLLinkElement* link() OVERRIDE; 71 virtual HTMLLinkElement* link() OVERRIDE;
71 72
72 Document* importedDocument() const; 73 Document* importedDocument() const;
73 74
74 private: 75 private:
75 RawPtrWillBeMember<HTMLImportChild> m_child; 76 RawPtrWillBeMember<HTMLImportChild> m_child;
76 }; 77 };
77 78
78 } // namespace WebCore 79 } // namespace WebCore
79 80
80 #endif // LinkImport_h 81 #endif // LinkImport_h
OLDNEW
« no previous file with comments | « Source/core/html/imports/HTMLImportChild.cpp ('k') | Source/core/html/imports/LinkImport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698