commit | a04c9d099794366eebd1d1ffb21e55561124a1a4 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Nov 14 21:04:34 2012 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Nov 14 21:04:34 2012 |
tree | be5f0f12db469e8a269a50a6faaed7cfac8f6596 | |
parent | ffd80a946ede19c6eb36c80baac760cd87413269 [diff] [blame] |
Triggering InspectElement from context menu over a guest will open guest's devtools with correct element highlighted. BUG=140329 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167486 Relanding after linux_clang dbg bot fix. Review URL: https://chromiumcodereview.appspot.com/11362016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167744 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h index 1c23b92..4bfaf17 100644 --- a/content/browser/web_contents/web_contents_impl.h +++ b/content/browser/web_contents/web_contents_impl.h
@@ -187,6 +187,10 @@ virtual BrowserContext* GetBrowserContext() const OVERRIDE; virtual RenderProcessHost* GetRenderProcessHost() const OVERRIDE; virtual RenderViewHost* GetRenderViewHost() const OVERRIDE; + virtual void GetRenderViewHostAtPosition( + int x, + int y, + const GetRenderViewHostCallback& callback) OVERRIDE; virtual int GetRoutingID() const OVERRIDE; virtual RenderWidgetHostView* GetRenderWidgetHostView() const OVERRIDE; virtual WebContentsView* GetView() const OVERRIDE;