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

Side by Side Diff: Source/core/html/HTMLImportChild.h

Issue 126793004: Update HTML classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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
« no previous file with comments | « Source/core/html/HTMLImageLoader.h ('k') | Source/core/html/HTMLImportLoader.h » ('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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 // 45 //
46 // An import tree node subclas to encapsulate imported document 46 // An import tree node subclas to encapsulate imported document
47 // lifecycle. This class is owned by LinkStyle. The actual loading 47 // lifecycle. This class is owned by LinkStyle. The actual loading
48 // is done by HTMLImportLoader, which can be shared among multiple 48 // is done by HTMLImportLoader, which can be shared among multiple
49 // HTMLImportChild of same link URL. 49 // HTMLImportChild of same link URL.
50 // 50 //
51 // HTMLImportChild implements ResourceClient through HTMLImportResourceOwner 51 // HTMLImportChild implements ResourceClient through HTMLImportResourceOwner
52 // so that it can speculatively request linked resources while it is unblocked. 52 // so that it can speculatively request linked resources while it is unblocked.
53 // 53 //
54 class HTMLImportChild : public HTMLImport, public HTMLImportLoaderClient, public HTMLImportResourceOwner { 54 class HTMLImportChild FINAL : public HTMLImport, public HTMLImportLoaderClient, public HTMLImportResourceOwner {
55 public: 55 public:
56 HTMLImportChild(const KURL&, bool createdByParser); 56 HTMLImportChild(const KURL&, bool createdByParser);
57 virtual ~HTMLImportChild(); 57 virtual ~HTMLImportChild();
58 58
59 Document* importedDocument() const; 59 Document* importedDocument() const;
60 const KURL& url() const { return m_url; } 60 const KURL& url() const { return m_url; }
61 61
62 void wasAlreadyLoadedAs(HTMLImportChild* found); 62 void wasAlreadyLoadedAs(HTMLImportChild* found);
63 void startLoading(const ResourcePtr<RawResource>&); 63 void startLoading(const ResourcePtr<RawResource>&);
64 void importDestroyed(); 64 void importDestroyed();
(...skipping 26 matching lines...) Expand all
91 91
92 KURL m_url; 92 KURL m_url;
93 RefPtr<HTMLImportLoader> m_loader; 93 RefPtr<HTMLImportLoader> m_loader;
94 Vector<HTMLImportChildClient*> m_clients; 94 Vector<HTMLImportChildClient*> m_clients;
95 bool m_traversingClients; 95 bool m_traversingClients;
96 }; 96 };
97 97
98 } // namespace WebCore 98 } // namespace WebCore
99 99
100 #endif // HTMLImportChild_h 100 #endif // HTMLImportChild_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLImageLoader.h ('k') | Source/core/html/HTMLImportLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698