For ```web_contents->GetRenderViewHost()```, it is still valid for tab-based situation since each WebContents associates with a browser tab, while RenderView contains more than one RenderFrame, and you can also get the RenderFrame for main frame of a WebContents through ```web_contents->GetMainFrame()```.