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

Side by Side Diff: Source/core/html/HTMLImportLoader.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/HTMLImportChild.h ('k') | Source/core/html/HTMLImportsController.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 29 matching lines...) Expand all
40 class DocumentWriter; 40 class DocumentWriter;
41 class HTMLImport; 41 class HTMLImport;
42 class HTMLImportLoaderClient; 42 class HTMLImportLoaderClient;
43 43
44 // 44 //
45 // Owning imported Document lifetime. It also implements ResourceClient through HTMLImportResourceOwner 45 // Owning imported Document lifetime. It also implements ResourceClient through HTMLImportResourceOwner
46 // to feed fetched bytes to the DocumentWriter of the imported document. 46 // to feed fetched bytes to the DocumentWriter of the imported document.
47 // HTMLImportLoader is owned by and shared between HTMLImportChild. 47 // HTMLImportLoader is owned by and shared between HTMLImportChild.
48 // 48 //
49 // 49 //
50 class HTMLImportLoader : public RefCounted<HTMLImportLoader>, public HTMLImportR esourceOwner { 50 class HTMLImportLoader FINAL : public RefCounted<HTMLImportLoader>, public HTMLI mportResourceOwner {
51 public: 51 public:
52 enum State { 52 enum State {
53 StateLoading, 53 StateLoading,
54 StateWritten, 54 StateWritten,
55 StateError, 55 StateError,
56 StateReady 56 StateReady
57 }; 57 };
58 58
59 static PassRefPtr<HTMLImportLoader> create(HTMLImport*, ResourceFetcher*); 59 static PassRefPtr<HTMLImportLoader> create(HTMLImport*, ResourceFetcher*);
60 60
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 ResourceFetcher* m_fetcher; 92 ResourceFetcher* m_fetcher;
93 Vector<HTMLImportLoaderClient*> m_clients; 93 Vector<HTMLImportLoaderClient*> m_clients;
94 State m_state; 94 State m_state;
95 RefPtr<Document> m_importedDocument; 95 RefPtr<Document> m_importedDocument;
96 RefPtr<DocumentWriter> m_writer; 96 RefPtr<DocumentWriter> m_writer;
97 }; 97 };
98 98
99 } // namespace WebCore 99 } // namespace WebCore
100 100
101 #endif // HTMLImportLoader_h 101 #endif // HTMLImportLoader_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLImportChild.h ('k') | Source/core/html/HTMLImportsController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698