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

Unified Diff: content/public/renderer/render_frame.h

Issue 2797383002: Introduce RenderFrameVisitor (Closed)
Patch Set: Use the correct copyright notice Created 3 years, 8 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 | « content/public/renderer/BUILD.gn ('k') | content/public/renderer/render_frame_visitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_frame.h
diff --git a/content/public/renderer/render_frame.h b/content/public/renderer/render_frame.h
index 686d4771bd734fab6bcb39c2b93a9e7f3018e059..4202f0dd5a30f1a82fe0054d6047978518f98ca2 100644
--- a/content/public/renderer/render_frame.h
+++ b/content/public/renderer/render_frame.h
@@ -58,6 +58,7 @@ class AssociatedInterfaceRegistry;
class ContextMenuClient;
class PluginInstanceThrottler;
class RenderAccessibility;
+class RenderFrameVisitor;
class RenderView;
struct ContextMenuParams;
struct WebPluginInfo;
@@ -98,6 +99,9 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
// Returns the RenderFrame given a routing id.
static RenderFrame* FromRoutingID(int routing_id);
+ // Visit all live RenderFrames.
+ static void ForEach(RenderFrameVisitor* visitor);
+
// Returns the RenderView associated with this frame.
virtual RenderView* GetRenderView() = 0;
« no previous file with comments | « content/public/renderer/BUILD.gn ('k') | content/public/renderer/render_frame_visitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698