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

Unified Diff: content/renderer/web_frame_utils.h

Issue 1386873003: OOPIFs: Transitioning MHTML generation from view-oriented to frame-oriented. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mhtml-generation-mgr-cleanup
Patch Set: Rebasing... Created 5 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/renderer/web_frame_utils.h
diff --git a/content/renderer/web_frame_utils.h b/content/renderer/web_frame_utils.h
index 73d188afe3ae578c7c25b44f499cffed6ada466d..798fb03a1a263c5852ef2113b983f599d0a3bf63 100644
--- a/content/renderer/web_frame_utils.h
+++ b/content/renderer/web_frame_utils.h
@@ -15,6 +15,10 @@ namespace content {
// associated with |web_frame|.
int GetRoutingIdForFrameOrProxy(blink::WebFrame* web_frame);
+// Returns either a WebLocalFrame or WebRemoteFrame based on |routing_id|.
+// Returns nullptr if |routing_id| doesn't properly map to a frame.
+blink::WebFrame* GetWebFrameFromRoutingIdForFrameOrProxy(int routing_id);
+
} // namespace content
#endif // CONTENT_RENDERER_WEB_FRAME_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698