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

Unified Diff: Source/core/dom/Node.h

Issue 1032033002: Fire error events for a variety of script and style failures. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed test failures Created 5 years, 9 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/css/StyleSheetContents.cpp ('k') | Source/core/dom/ScriptLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index 8983c5a5ae865b2a6cfff8de1e24eac2821974a9..42e99e611d620c4867cf79f247d262e39950c7d9 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -340,7 +340,11 @@ public:
// For <link> and <style> elements.
virtual bool sheetLoaded() { return true; }
- virtual void notifyLoadedSheetAndAllCriticalSubresources(bool /* error loading subresource */) { }
+ enum LoadedSheetErrorStatus {
+ NoErrorLoadingSubresource,
+ ErrorOccurredLoadingSubresource
+ };
+ virtual void notifyLoadedSheetAndAllCriticalSubresources(LoadedSheetErrorStatus) { }
virtual void startLoadingDynamicSheet() { ASSERT_NOT_REACHED(); }
bool hasName() const { ASSERT(!isTextNode()); return getFlag(HasNameOrIsEditingTextFlag); }
« no previous file with comments | « Source/core/css/StyleSheetContents.cpp ('k') | Source/core/dom/ScriptLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698