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

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

Issue 10827078: Support frame tree propagation between renderers in the same browsing instance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes based on Albert's comments and added explicit test for adding/removing frames using JavaScrip… Created 8 years, 4 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
Index: content/public/browser/render_view_host.h
diff --git a/content/public/browser/render_view_host.h b/content/public/browser/render_view_host.h
index f3f6f2610143c0b1b604442ece2d530f6e55b83e..3aad78fd1928da2f102110fdffcce2ec05d299a9 100644
--- a/content/public/browser/render_view_host.h
+++ b/content/public/browser/render_view_host.h
@@ -239,6 +239,10 @@ class CONTENT_EXPORT RenderViewHost : virtual public RenderWidgetHost {
// Reloads the current focused frame.
virtual void ReloadFrame() = 0;
+ // Retrieves a JSON serialized representation of the frame tree for the
+ // current document in the render view.
+ virtual const std::string& GetFrameTree() const = 0;
Charlie Reis 2012/08/21 01:40:39 Is this ever needed outside the content module? I
nasko 2012/08/21 17:49:42 Done.
+
// Sets the alternate error page URL (link doctor) for the renderer process.
virtual void SetAltErrorPageURL(const GURL& url) = 0;

Powered by Google App Engine
This is Rietveld 408576698