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

Unified Diff: content/child/npapi/webplugin_delegate.h

Issue 19761007: Move NPAPI implementation out of webkit/plugins/npapi and into content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 7 years, 5 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: content/child/npapi/webplugin_delegate.h
===================================================================
--- content/child/npapi/webplugin_delegate.h (revision 0)
+++ content/child/npapi/webplugin_delegate.h (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_
-#define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_
+#ifndef CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_H_
+#define CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_H_
#include <string>
#include <vector>
@@ -14,7 +14,6 @@
#include "third_party/npapi/bindings/npapi.h"
#include "ui/gfx/native_widget_types.h"
#include "webkit/common/cursors/webcursor.h"
-#include "webkit/plugins/webkit_plugins_export.h"
class GURL;
struct NPObject;
@@ -27,14 +26,13 @@
class Rect;
}
-namespace webkit {
-namespace npapi {
+namespace content {
class WebPlugin;
class WebPluginResourceClient;
// This is the interface that a plugin implementation needs to provide.
-class WEBKIT_PLUGINS_EXPORT WebPluginDelegate {
+class WebPluginDelegate {
public:
virtual ~WebPluginDelegate() {}
@@ -133,7 +131,6 @@
unsigned long resource_id, int range_request_id) = 0;
};
-} // namespace npapi
-} // namespace webkit
+} // namespace content
-#endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_H_
+#endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698