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

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

Issue 1373573002: ABANDONED: OOPIFs: Moving stitching of local paths from renderer to browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@page-serialization-recursive-begone
Patch Set: Removed no longer needed WebKit dependency. Created 5 years, 2 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/renderer/render_frame.h
diff --git a/content/public/renderer/render_frame.h b/content/public/renderer/render_frame.h
index 335c2234416af8ce9cc851c4274ef07eea26b823..95a86d8223e38f3abd3576982bce30aae415afb3 100644
--- a/content/public/renderer/render_frame.h
+++ b/content/public/renderer/render_frame.h
@@ -57,6 +57,7 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
public IPC::Sender {
public:
// Returns the RenderFrame given a WebFrame.
+ static const RenderFrame* FromWebFrame(const blink::WebFrame* web_frame);
ncarter (slow) 2015/10/08 20:57:55 I appreciate the justification you gave for adding
Łukasz Anforowicz 2015/10/09 16:54:08 Done: - Removed const-related changes - Added a
static RenderFrame* FromWebFrame(blink::WebFrame* web_frame);
// Returns the RenderFrame given a routing id.
@@ -66,7 +67,7 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
virtual RenderView* GetRenderView() = 0;
// Get the routing ID of the frame.
- virtual int GetRoutingID() = 0;
+ virtual int GetRoutingID() const = 0;
ncarter (slow) 2015/10/08 20:57:55 Per the above, const methods in the content/public
Łukasz Anforowicz 2015/10/09 16:54:08 Done.
// Returns the associated WebFrame.
virtual blink::WebLocalFrame* GetWebFrame() = 0;

Powered by Google App Engine
This is Rietveld 408576698