Follow-on fixes and naming changes for https://codereview.chromium.org/12086077/

BUG=172573
Review URL: https://codereview.chromium.org/12177018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180600 0039d316-1c4b-4281-b951-d872f2087c98
void RaiseInfobarForBlocked3DContentOnUIThread(
    int render_process_id,
    int render_view_id,
    const GURL& url,
    content::ThreeDAPIType requester) {
  RenderViewHost* rvh = RenderViewHost::FromID(
      render_process_id, render_view_id);
  if (!rvh)
    return;
  WebContentsImpl* web_contents = static_cast<WebContentsImpl*>(
      WebContents::FromRenderViewHost(rvh));
  if (!web_contents)
    return;
  web_contents->DidBlock3DAPIs(url, requester);
}

void RaiseInfobarForBlocked3DContentOnUIThread(
    int render_process_id,
    int render_view_id,
    const GURL& url,
    content::ThreeDAPIType requester) {
  RenderViewHost* rvh = RenderViewHost::FromID(
      render_process_id, render_view_id);
  if (!rvh)
    return;
  WebContentsImpl* web_contents = static_cast<WebContentsImpl*>(
      WebContents::FromRenderViewHost(rvh));
  if (!web_contents)
    return;
  web_contents->DidBlock3DAPIs(url, requester);
}
