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

Unified Diff: Source/core/html/HTMLImportsController.h

Issue 141143006: [import] Cleanup: get rid of ad-hoc state machine. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated to ToT 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLImportStateResolver.cpp ('k') | Source/core/html/HTMLImportsController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLImportsController.h
diff --git a/Source/core/html/HTMLImportsController.h b/Source/core/html/HTMLImportsController.h
index 95e0efe478e525a0aff4802486c38c43061c9d44..1d62bdebbcf8e49a0ff8eaf8eb3444ad18e64a4f 100644
--- a/Source/core/html/HTMLImportsController.h
+++ b/Source/core/html/HTMLImportsController.h
@@ -60,12 +60,11 @@ public:
virtual HTMLImportRoot* root() OVERRIDE;
virtual Document* document() const OVERRIDE;
virtual void wasDetachedFromDocument() OVERRIDE;
- virtual void didFinishParsing() OVERRIDE;
virtual bool isDone() const OVERRIDE;
virtual bool hasLoader() const OVERRIDE;
// HTMLImportRoot
- virtual void blockerGone() OVERRIDE;
+ virtual void scheduleRecalcState() OVERRIDE;
virtual HTMLImportsController* toController() OVERRIDE { return this; }
virtual HTMLImportChild* findLinkFor(const KURL&, HTMLImport* excluding = 0) const OVERRIDE;
@@ -75,15 +74,14 @@ public:
SecurityOrigin* securityOrigin() const;
ResourceFetcher* fetcher() const;
- void scheduleUnblock();
- void unblockTimerFired(Timer<HTMLImportsController>*);
+ void recalcTimerFired(Timer<HTMLImportsController>*);
private:
HTMLImportChild* createChild(const KURL&, HTMLImport* parent, HTMLImportChildClient*);
void clear();
Document* m_master;
- Timer<HTMLImportsController> m_unblockTimer;
+ Timer<HTMLImportsController> m_recalcTimer;
// List of import which has been loaded or being loaded.
typedef Vector<OwnPtr<HTMLImportChild> > ImportList;
« no previous file with comments | « Source/core/html/HTMLImportStateResolver.cpp ('k') | Source/core/html/HTMLImportsController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698