summaryrefslogtreecommitdiffstats
path: root/chrome/browser/hang_monitor
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-19 01:13:47 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-19 01:13:47 +0000
commit29e2fb456d3bf933168cf24bccaf05b1bea862fc (patch)
tree43eacb9a2201da4c6eaaa658facf35f9addd2a5b /chrome/browser/hang_monitor
parent83aa2eda2999b74dab6cb22d677acaaefa044da7 (diff)
downloadchromium_src-29e2fb456d3bf933168cf24bccaf05b1bea862fc.zip
chromium_src-29e2fb456d3bf933168cf24bccaf05b1bea862fc.tar.gz
chromium_src-29e2fb456d3bf933168cf24bccaf05b1bea862fc.tar.bz2
Move NPAPI implementation out of webkit/plugins/npapi and into content.
Notes: -gtk_plugin_container_manager* and gtk_plugin_container* move to content/browser/renderer_host/ since that's all where they're used -plugin_list* and plugin_constants_win* move to content/common as they're used by child processes and the browser -webplugin_impl* and webplugin_page_delegate.h move to content/renderer as that's where they're used. I will remove webplugin_page_delegate.h in a followup change as it's no longer needed. -the rest moves to content/child/npapi -a few constants moved from plugin_constants_win.h to plugin_util.h temporarily BUG=237249 TBR=scottmg Review URL: https://codereview.chromium.org/19761007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212485 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/hang_monitor')
-rw-r--r--chrome/browser/hang_monitor/hung_plugin_action.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/hang_monitor/hung_plugin_action.cc b/chrome/browser/hang_monitor/hung_plugin_action.cc
index e2133b0..ed66e8c 100644
--- a/chrome/browser/hang_monitor/hung_plugin_action.cc
+++ b/chrome/browser/hang_monitor/hung_plugin_action.cc
@@ -14,7 +14,6 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/win/hwnd_util.h"
#include "webkit/plugins/npapi/plugin_utils.h"
-#include "webkit/plugins/npapi/webplugin_delegate_impl.h"
namespace {
@@ -175,9 +174,8 @@ bool HungPluginAction::GetPluginNameAndVersion(HWND plugin_window,
// we have gone too far.
return false;
}
- if (webkit::npapi::WebPluginDelegateImpl::GetPluginNameFromWindow(
- window_to_check, plugin_name)) {
- webkit::npapi::WebPluginDelegateImpl::GetPluginVersionFromWindow(
+ if (webkit::npapi::GetPluginNameFromWindow(window_to_check, plugin_name)) {
+ webkit::npapi::GetPluginVersionFromWindow(
window_to_check, plugin_version);
return true;
}