diff options
author | kaznacheev@chromium.org <kaznacheev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-07 18:58:25 +0000 |
---|---|---|
committer | kaznacheev@chromium.org <kaznacheev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-07 18:58:25 +0000 |
commit | 1a290104b9cbdbdd664798b53bddcfc416acb141 (patch) | |
tree | 93893c6c5a17080bc72d490d80a1dbcc0b38e9f7 /content/renderer/browser_plugin/browser_plugin.h | |
parent | bca6ab997a6e5b79f6d3ef37016c947185794433 (diff) | |
download | chromium_src-1a290104b9cbdbdd664798b53bddcfc416acb141.zip chromium_src-1a290104b9cbdbdd664798b53bddcfc416acb141.tar.gz chromium_src-1a290104b9cbdbdd664798b53bddcfc416acb141.tar.bz2 |
DevTools: Fix Inspect Element action for OOP iframes.
RenderViewContextMenu has recently become aware of the frame it is being called for. This makes it possible direct the InspectElement message to the correct renderer which is necessary of the "Inspect Element" action to work correctly with OOP iframes.
This automatically works correctly for BrowserPlugin as well, so WebContents::GetRenderViewHostAtPosition and all supporting code across can be removed now.
BUG=345700
Review URL: https://codereview.chromium.org/187673004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255672 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/browser_plugin/browser_plugin.h')
-rw-r--r-- | content/renderer/browser_plugin/browser_plugin.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h index 0c280e4..8079210 100644 --- a/content/renderer/browser_plugin/browser_plugin.h +++ b/content/renderer/browser_plugin/browser_plugin.h @@ -126,14 +126,6 @@ class CONTENT_EXPORT BrowserPlugin : // A request to enable hardware compositing. void EnableCompositing(bool enable); - // Returns true if |point| lies within the bounds of the plugin rectangle. - // Not OK to use this function for making security-sensitive decision since it - // can return false positives when the plugin has rotation transformation - // applied. - bool InBounds(const gfx::Point& point) const; - - gfx::Point ToLocalCoordinates(const gfx::Point& point) const; - // Called when a guest instance ID has been allocated by the browser process. void OnInstanceIDAllocated(int guest_instance_id); // Provided that a guest instance ID has been allocated, this method attaches |