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

Unified Diff: webkit/plugins/npapi/gtk_plugin_container_manager.cc

Issue 6012002: Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi and put... (Closed) Base URL: svn://chrome-svn/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 | « webkit/plugins/npapi/gtk_plugin_container_manager.h ('k') | webkit/plugins/npapi/npapi_extension_thunk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/gtk_plugin_container_manager.cc
===================================================================
--- webkit/plugins/npapi/gtk_plugin_container_manager.cc (revision 0)
+++ webkit/plugins/npapi/gtk_plugin_container_manager.cc (working copy)
@@ -2,15 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "webkit/glue/plugins/gtk_plugin_container_manager.h"
+#include "webkit/plugins/npapi/gtk_plugin_container_manager.h"
#include <gtk/gtk.h>
#include "base/logging.h"
#include "gfx/gtk_util.h"
-#include "webkit/glue/plugins/gtk_plugin_container.h"
-#include "webkit/glue/plugins/webplugin.h"
+#include "webkit/plugins/npapi/gtk_plugin_container.h"
+#include "webkit/plugins/npapi/webplugin.h"
+namespace webkit {
+namespace npapi {
+
GtkPluginContainerManager::GtkPluginContainerManager() : host_widget_(NULL) {}
GtkPluginContainerManager::~GtkPluginContainerManager() {}
@@ -56,7 +59,7 @@
}
void GtkPluginContainerManager::MovePluginContainer(
- const webkit_glue::WebPluginGeometry& move) {
+ const WebPluginGeometry& move) {
DCHECK(host_widget_);
GtkWidget *widget = MapIDToWidget(move.window);
if (!widget)
@@ -153,3 +156,6 @@
if (id)
gtk_socket_add_id(GTK_SOCKET(widget), id);
}
+
+} // namespace npapi
+} // namespace webkit
« no previous file with comments | « webkit/plugins/npapi/gtk_plugin_container_manager.h ('k') | webkit/plugins/npapi/npapi_extension_thunk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698