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

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: Simplify 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') | no next file with comments »
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..5b7f80d36fc9bae52cdbfe60cb62c7a0db052d9a 100644
--- a/Source/core/frame/FrameOwner.h
+++ b/Source/core/frame/FrameOwner.h
@@ -23,6 +23,10 @@ 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.
+ virtual void renderFallbackContent() = 0;
};
} // namespace blink
« no previous file with comments | « no previous file | Source/core/html/HTMLFrameOwnerElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698