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

Unified Diff: content/public/browser/navigation_handle.h

Issue 2541063002: Revert of Remove about:srcdoc url conversion. (Closed)
Patch Set: Created 4 years 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
Index: content/public/browser/navigation_handle.h
diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h
index 96dddc5624480a94045937de247eedbc4eea8a5d..def875711344a1c365349ebb078f5cb8ee6aa95b 100644
--- a/content/public/browser/navigation_handle.h
+++ b/content/public/browser/navigation_handle.h
@@ -73,6 +73,9 @@
// * using window.history.pushState
virtual bool IsRendererInitiated() = 0;
+ // Whether the navigation is for an iframe with srcdoc attribute.
+ virtual bool IsSrcdoc() = 0;
+
// Returns the FrameTreeNode ID for the frame in which the navigation is
// performed. This ID is browser-global and uniquely identifies a frame that
// hosts content. The identifier is fixed at the creation of the frame and

Powered by Google App Engine
This is Rietveld 408576698