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

Unified Diff: chrome/browser/tab_contents/tab_util.h

Issue 709933002: Add frameId to MessageSender (extension messaging API) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move extension messaging IPC from RenderView to RenderFrame Created 6 years, 1 month 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: chrome/browser/tab_contents/tab_util.h
diff --git a/chrome/browser/tab_contents/tab_util.h b/chrome/browser/tab_contents/tab_util.h
index 7c6111cc84646c8496e141985a1cf96b94457aee..4814c85ebb0422ce4bf9dc752bc4a7c57127a641 100644
--- a/chrome/browser/tab_contents/tab_util.h
+++ b/chrome/browser/tab_contents/tab_util.h
@@ -21,6 +21,9 @@ namespace tab_util {
content::WebContents* GetWebContentsByID(int render_process_id,
int render_view_id);
+content::WebContents* GetWebContentsByFrameID(int render_process_id,
+ int render_frame_id);
+
// Returns a new SiteInstance for WebUI and app URLs. Returns NULL otherwise.
content::SiteInstance* GetSiteInstanceForNewTab(
Profile* profile,

Powered by Google App Engine
This is Rietveld 408576698