summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/plugins
diff options
context:
space:
mode:
authorwangxianzhu@chromium.org <wangxianzhu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-09 20:26:15 +0000
committerwangxianzhu@chromium.org <wangxianzhu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-09 20:26:15 +0000
commit3338bcfceb61b73b46914eae305cec86cea8484e (patch)
tree496d70543570b42d5c36b77b0c5156597e6701c0 /chrome/renderer/plugins
parentd86fbbebdddc19e02311a27c8e44ec4119458cd2 (diff)
downloadchromium_src-3338bcfceb61b73b46914eae305cec86cea8484e.zip
chromium_src-3338bcfceb61b73b46914eae305cec86cea8484e.tar.gz
chromium_src-3338bcfceb61b73b46914eae305cec86cea8484e.tar.bz2
Quote CppBoundClass/CppVariant in namespace.
To avoid name conflict when linking DumpRenderTree which has its own implementation of the classes with the same names. Eventually the related classes will be replaced with V8 API. BUG=127238 TEST=Build all without error TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10382059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136112 0039d316-1c4b-4281-b951-d872f2087c98
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);