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

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

Issue 131043003: [import] Refactoring: Get rid of HTMLImport::isProcessing() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed an extra blank line 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLImport.cpp ('k') | Source/core/html/HTMLImportChild.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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 void wasAlreadyLoaded(); 63 void wasAlreadyLoaded();
64 void startLoading(const ResourcePtr<RawResource>&); 64 void startLoading(const ResourcePtr<RawResource>&);
65 void importDestroyed(); 65 void importDestroyed();
66 66
67 // HTMLImport 67 // HTMLImport
68 virtual HTMLImportRoot* root() OVERRIDE; 68 virtual HTMLImportRoot* root() OVERRIDE;
69 virtual Document* document() const OVERRIDE; 69 virtual Document* document() const OVERRIDE;
70 virtual void wasDetachedFromDocument() OVERRIDE; 70 virtual void wasDetachedFromDocument() OVERRIDE;
71 virtual void didFinishParsing() OVERRIDE; 71 virtual void didFinishParsing() OVERRIDE;
72 virtual bool isProcessing() const OVERRIDE;
73 virtual bool isDone() const OVERRIDE; 72 virtual bool isDone() const OVERRIDE;
73 virtual bool ownsLoader() const OVERRIDE;
74 virtual void didUnblockFromCreatingDocument() OVERRIDE; 74 virtual void didUnblockFromCreatingDocument() OVERRIDE;
75 virtual void didBecomeReady() OVERRIDE; 75 virtual void didBecomeReady() OVERRIDE;
76 virtual CustomElementPendingImport* pendingImport() const OVERRIDE { return m_pendingImport.get(); } 76 virtual CustomElementPendingImport* pendingImport() const OVERRIDE { return m_pendingImport.get(); }
77 77
78 void addClient(HTMLImportChildClient*); 78 void addClient(HTMLImportChildClient*);
79 void removeClient(HTMLImportChildClient*); 79 void removeClient(HTMLImportChildClient*);
80 bool loaderHasError() const; 80 bool loaderHasError() const;
81 81
82 private: 82 private:
83 // RawResourceOwner doing nothing. 83 // RawResourceOwner doing nothing.
(...skipping 13 matching lines...) Expand all
97 KURL m_url; 97 KURL m_url;
98 OwnPtr<CustomElementPendingImport> m_pendingImport; 98 OwnPtr<CustomElementPendingImport> m_pendingImport;
99 RefPtr<HTMLImportLoader> m_loader; 99 RefPtr<HTMLImportLoader> m_loader;
100 Vector<HTMLImportChildClient*> m_clients; 100 Vector<HTMLImportChildClient*> m_clients;
101 bool m_traversingClients; 101 bool m_traversingClients;
102 }; 102 };
103 103
104 } // namespace WebCore 104 } // namespace WebCore
105 105
106 #endif // HTMLImportChild_h 106 #endif // HTMLImportChild_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLImport.cpp ('k') | Source/core/html/HTMLImportChild.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698