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

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

Issue 135653006: [import] Refactoring: Get rid of BlockedFromCreatingDocument state (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLImportChild.cpp ('k') | Source/core/html/HTMLImportsController.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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 explicit HTMLImportsController(Document*); 56 explicit HTMLImportsController(Document*);
57 virtual ~HTMLImportsController(); 57 virtual ~HTMLImportsController();
58 58
59 // HTMLImport 59 // HTMLImport
60 virtual HTMLImportRoot* root() OVERRIDE; 60 virtual HTMLImportRoot* root() OVERRIDE;
61 virtual Document* document() const OVERRIDE; 61 virtual Document* document() const OVERRIDE;
62 virtual void wasDetachedFromDocument() OVERRIDE; 62 virtual void wasDetachedFromDocument() OVERRIDE;
63 virtual void didFinishParsing() OVERRIDE; 63 virtual void didFinishParsing() OVERRIDE;
64 virtual bool isDone() const OVERRIDE; 64 virtual bool isDone() const OVERRIDE;
65 virtual bool hasLoader() const OVERRIDE;
65 66
66 // HTMLImportRoot 67 // HTMLImportRoot
67 virtual void blockerGone() OVERRIDE; 68 virtual void blockerGone() OVERRIDE;
68 virtual HTMLImportsController* toController() OVERRIDE { return this; } 69 virtual HTMLImportsController* toController() OVERRIDE { return this; }
69 virtual HTMLImportChild* findLinkFor(const KURL&, HTMLImport* excluding = 0) const OVERRIDE; 70 virtual HTMLImportChild* findLinkFor(const KURL&, HTMLImport* excluding = 0) const OVERRIDE;
70 71
71 HTMLImportChild* load(HTMLImport* parent, HTMLImportChildClient*, FetchReque st); 72 HTMLImportChild* load(HTMLImport* parent, HTMLImportChildClient*, FetchReque st);
72 void showSecurityErrorMessage(const String&); 73 void showSecurityErrorMessage(const String&);
73 74
74 SecurityOrigin* securityOrigin() const; 75 SecurityOrigin* securityOrigin() const;
(...skipping 10 matching lines...) Expand all
85 Timer<HTMLImportsController> m_unblockTimer; 86 Timer<HTMLImportsController> m_unblockTimer;
86 87
87 // List of import which has been loaded or being loaded. 88 // List of import which has been loaded or being loaded.
88 typedef Vector<OwnPtr<HTMLImportChild> > ImportList; 89 typedef Vector<OwnPtr<HTMLImportChild> > ImportList;
89 ImportList m_imports; 90 ImportList m_imports;
90 }; 91 };
91 92
92 } // namespace WebCore 93 } // namespace WebCore
93 94
94 #endif // HTMLImportsController_h 95 #endif // HTMLImportsController_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLImportChild.cpp ('k') | Source/core/html/HTMLImportsController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698