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

Unified Diff: content/renderer/webplugin_page_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/renderer/webplugin_page_delegate.h
===================================================================
--- content/renderer/webplugin_page_delegate.h (revision 212369)
+++ content/renderer/webplugin_page_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_PAGE_DELEGATE_H_
-#define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_PAGE_DELEGATE_H_
+#ifndef CONTENT_RENDERER_WEBPLUGIN_PAGE_DELEGATE_H_
+#define CONTENT_RENDERER_WEBPLUGIN_PAGE_DELEGATE_H_
#include <string>
@@ -18,8 +18,7 @@
class WebPlugin;
}
-namespace webkit {
-namespace npapi {
+namespace content {
class WebPluginDelegate;
struct WebPluginGeometry;
@@ -51,8 +50,7 @@
// Keeps track of the necessary window move for a plugin window that resulted
// from a scroll operation. That way, all plugin windows can be moved at the
// same time as each other and the page.
- virtual void DidMovePlugin(
- const WebPluginGeometry& move) = 0;
+ virtual void DidMovePlugin(const WebPluginGeometry& move) = 0;
// Notifies the parent view that a load has begun.
virtual void DidStartLoadingForPlugin() = 0;
@@ -67,7 +65,6 @@
virtual ~WebPluginPageDelegate() {}
};
-} // namespace npapi
-} // namespace webkit
+} // namespace content
-#endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_PAGE_DELEGATE_H_
+#endif // CONTENT_RENDERER_WEBPLUGIN_PAGE_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698