diff options
author | yurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-04 15:08:28 +0000 |
---|---|---|
committer | yurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-04 15:08:28 +0000 |
commit | 617e7516c430fff771bd35a3962cabf96504f95d (patch) | |
tree | 0b34d7e87913a1dade9097dce55f97bb0c822c51 /webkit/glue/webplugin_impl.h | |
parent | 9e6cd27dfb4ae8651fcbf0c7333c843c32aa07a8 (diff) | |
download | chromium_src-617e7516c430fff771bd35a3962cabf96504f95d.zip chromium_src-617e7516c430fff771bd35a3962cabf96504f95d.tar.gz chromium_src-617e7516c430fff771bd35a3962cabf96504f95d.tar.bz2 |
Check that frame has not been closed when getting DevToolsAgent.
Updated test expectations. The test that used to crash is failing on Linux(it is already expected to crash or fail on Win and Mac).
BUG=29339
Review URL: http://codereview.chromium.org/460072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33819 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webplugin_impl.h')
-rw-r--r-- | webkit/glue/webplugin_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/webplugin_impl.h b/webkit/glue/webplugin_impl.h index 7ed3e6f..f4e1108 100644 --- a/webkit/glue/webplugin_impl.h +++ b/webkit/glue/webplugin_impl.h @@ -25,6 +25,7 @@ class WebViewDelegate; namespace WebKit { +class WebDevToolsAgent; class WebFrame; class WebPluginContainer; class WebURLResponse; @@ -244,6 +245,9 @@ class WebPluginImpl : public WebPlugin, // Helper function to set the referrer on the request passed in. void SetReferrer(WebKit::WebURLRequest* request, Referrer referrer_flag); + // Returns DevToolsAgent for the frame or 0. + WebKit::WebDevToolsAgent* GetDevToolsAgent(); + std::vector<ClientInfo> clients_; bool windowless_; |