Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: webkit/glue/plugins/plugin_instance.h

Issue 181014: Eliminate remaining WebCore dependencies from webplugin_impl.cc... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/glue/plugins/plugin_instance.h
===================================================================
--- webkit/glue/plugins/plugin_instance.h (revision 25087)
+++ webkit/glue/plugins/plugin_instance.h (working copy)
@@ -21,9 +21,12 @@
#include "googleurl/src/gurl.h"
#include "third_party/npapi/bindings/npapi.h"
-class WebPlugin;
class MessageLoop;
+namespace webkit_glue {
+class WebPlugin;
+}
+
namespace NPAPI
{
class PluginLib;
@@ -88,8 +91,10 @@
void set_transparent(bool value) { transparent_ = value; }
// Get/Set the WebPlugin associated with this instance
- WebPlugin* webplugin() { return webplugin_; }
- void set_web_plugin(WebPlugin* webplugin) { webplugin_ = webplugin; }
+ webkit_glue::WebPlugin* webplugin() { return webplugin_; }
+ void set_web_plugin(webkit_glue::WebPlugin* webplugin) {
+ webplugin_ = webplugin;
+ }
// Get the mimeType for this plugin stream
const std::string &mime_type() { return mime_type_; }
@@ -225,7 +230,7 @@
gfx::PluginWindowHandle window_handle_;
bool windowless_;
bool transparent_;
- WebPlugin* webplugin_;
+ webkit_glue::WebPlugin* webplugin_;
std::string mime_type_;
GURL get_url_;
intptr_t get_notify_data_;

Powered by Google App Engine
This is Rietveld 408576698