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

Unified Diff: chrome/renderer/pepper_widget.cc

Issue 5961004: Revert 69755 - Move the NPAPI files from webkit/glue/plugins to webkit/plugin... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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
« no previous file with comments | « chrome/renderer/pepper_scrollbar_widget.cc ('k') | chrome/renderer/render_process_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/pepper_widget.cc
===================================================================
--- chrome/renderer/pepper_widget.cc (revision 69765)
+++ chrome/renderer/pepper_widget.cc (working copy)
@@ -9,9 +9,9 @@
#include "chrome/renderer/pepper_scrollbar_widget.h"
#include "chrome/renderer/webplugin_delegate_pepper.h"
#include "skia/ext/platform_canvas.h"
-#include "webkit/plugins/npapi/plugin_instance.h"
-#include "webkit/plugins/npapi/webplugin.h"
-#include "webkit/plugins/npapi/webplugin_delegate.h"
+#include "webkit/glue/plugins/plugin_instance.h"
+#include "webkit/glue/plugins/webplugin.h"
+#include "webkit/glue/plugins/webplugin_delegate.h"
#if defined(OS_WIN)
#include "base/win/windows_version.h"
@@ -57,8 +57,8 @@
if (iter == g_widgets.Get().end())
return NPERR_INVALID_PARAM;
- webkit::npapi::PluginInstance* plugin =
- static_cast<webkit::npapi::PluginInstance*>(instance->ndata);
+ NPAPI::PluginInstance* plugin =
+ static_cast<NPAPI::PluginInstance*>(instance->ndata);
WebPluginDelegatePepper* delegate =
static_cast<WebPluginDelegatePepper*>(plugin->webplugin()->delegate());
Graphics2DDeviceContext* gdc = delegate->GetGraphicsContext(context);
@@ -135,8 +135,8 @@
}
void PepperWidget::WidgetPropertyChanged(NPWidgetProperty property) {
- webkit::npapi::PluginInstance* instance =
- static_cast<webkit::npapi::PluginInstance*>(instance_->ndata);
+ NPAPI::PluginInstance* instance =
+ static_cast<NPAPI::PluginInstance*>(instance_->ndata);
NPPExtensions* extensions = NULL;
instance->NPP_GetValue(NPPVPepperExtensions, &extensions);
if (!extensions)
« no previous file with comments | « chrome/renderer/pepper_scrollbar_widget.cc ('k') | chrome/renderer/render_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698