summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/plugins')
-rw-r--r--chrome/renderer/plugins/plugin_placeholder.cc2
-rw-r--r--chrome/renderer/plugins/plugin_placeholder.h16
2 files changed, 11 insertions, 7 deletions
diff --git a/chrome/renderer/plugins/plugin_placeholder.cc b/chrome/renderer/plugins/plugin_placeholder.cc
index 885472d..842dc28 100644
--- a/chrome/renderer/plugins/plugin_placeholder.cc
+++ b/chrome/renderer/plugins/plugin_placeholder.cc
@@ -63,6 +63,8 @@ using WebKit::WebString;
using WebKit::WebURLRequest;
using WebKit::WebVector;
using webkit::WebViewPlugin;
+using webkit_glue::CppArgumentList;
+using webkit_glue::CppVariant;
const char* const kPluginPlaceholderDataURL =
"chrome://pluginplaceholderdata/";
diff --git a/chrome/renderer/plugins/plugin_placeholder.h b/chrome/renderer/plugins/plugin_placeholder.h
index 5eb4b2a..561cd16 100644
--- a/chrome/renderer/plugins/plugin_placeholder.h
+++ b/chrome/renderer/plugins/plugin_placeholder.h
@@ -26,7 +26,7 @@ struct WebPluginInfo;
// (blocked or disabled).
class PluginPlaceholder : public content::RenderViewObserver,
public content::RenderProcessObserver,
- public CppBoundClass,
+ public webkit_glue::CppBoundClass,
public webkit::WebViewPlugin::Delegate {
public:
// Creates a new WebViewPlugin with a MissingPlugin as a delegate.
@@ -115,19 +115,21 @@ class PluginPlaceholder : public content::RenderViewObserver,
// Javascript callbacks:
// Load the blocked plugin by calling LoadPlugin().
// Takes no arguments, and returns nothing.
- void LoadCallback(const CppArgumentList& args, CppVariant* result);
+ void LoadCallback(const webkit_glue::CppArgumentList& args,
+ webkit_glue::CppVariant* result);
// Hide the blocked plugin by calling HidePlugin().
// Takes no arguments, and returns nothing.
- void HideCallback(const CppArgumentList& args, CppVariant* result);
+ void HideCallback(const webkit_glue::CppArgumentList& args,
+ webkit_glue::CppVariant* result);
// Opens chrome://plugins in a new tab.
// Takes no arguments, and returns nothing.
- void OpenAboutPluginsCallback(const CppArgumentList& args,
- CppVariant* result);
+ void OpenAboutPluginsCallback(const webkit_glue::CppArgumentList& args,
+ webkit_glue::CppVariant* result);
- void DidFinishLoadingCallback(const CppArgumentList& args,
- CppVariant* result);
+ void DidFinishLoadingCallback(const webkit_glue::CppArgumentList& args,
+ webkit_glue::CppVariant* result);
void OnLoadBlockedPlugins();
void OnSetIsPrerendering(bool is_prerendering);