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

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

Issue 2519393002: Force adding sheets and recalc for html import re-ordering. (Closed)
Patch Set: Missing reset in resetAuthorStyle() Created 4 years 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 explicit LinkImport(HTMLLinkElement* owner); 53 explicit LinkImport(HTMLLinkElement* owner);
54 ~LinkImport() override; 54 ~LinkImport() override;
55 55
56 // LinkResource 56 // LinkResource
57 void process() override; 57 void process() override;
58 LinkResourceType type() const override { return Import; } 58 LinkResourceType type() const override { return Import; }
59 bool hasLoaded() const override; 59 bool hasLoaded() const override;
60 DECLARE_VIRTUAL_TRACE(); 60 DECLARE_VIRTUAL_TRACE();
61 void ownerInserted() override; 61 void ownerInserted() override;
62 void ownerRemoved() override;
62 63
63 // HTMLImportChildClient 64 // HTMLImportChildClient
64 void didFinish() override; 65 void didFinish() override;
65 void importChildWasDisposed(HTMLImportChild*) override; 66 void importChildWasDisposed(HTMLImportChild*) override;
66 bool isSync() const override; 67 bool isSync() const override;
67 HTMLLinkElement* link() override; 68 HTMLLinkElement* link() override;
68 69
69 Document* importedDocument() const; 70 Document* importedDocument() const;
70 71
71 private: 72 private:
72 Member<HTMLImportChild> m_child; 73 Member<HTMLImportChild> m_child;
73 }; 74 };
74 75
75 } // namespace blink 76 } // namespace blink
76 77
77 #endif // LinkImport_h 78 #endif // LinkImport_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleEngine.cpp ('k') | third_party/WebKit/Source/core/html/imports/LinkImport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698