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

Unified Diff: Source/core/frame/FrameOwner.h

Issue 1125053002: Move renderFallbackContent() into FrameOwner interface. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add comment Created 5 years, 7 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 | « no previous file | Source/core/html/HTMLFrameOwnerElement.h » ('j') | Source/core/html/HTMLObjectElement.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameOwner.h
diff --git a/Source/core/frame/FrameOwner.h b/Source/core/frame/FrameOwner.h
index 468acbaf7176a0a0178c324c57d389d5631344ee..45381e28f04124de1cd505f829289e013bdb44b4 100644
--- a/Source/core/frame/FrameOwner.h
+++ b/Source/core/frame/FrameOwner.h
@@ -23,6 +23,11 @@ public:
virtual SandboxFlags sandboxFlags() const = 0;
virtual void dispatchLoad() = 0;
+
+ // On load failure, a frame can ask its owner to render fallback content
+ // which replaces the frame contents. If this call returns true, no further
+ // processing of the failed load should occur.
+ virtual bool renderFallbackContent() = 0;
};
} // namespace blink
« no previous file with comments | « no previous file | Source/core/html/HTMLFrameOwnerElement.h » ('j') | Source/core/html/HTMLObjectElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698