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

Unified Diff: content/child/npapi/webplugin_accelerated_surface_mac.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_accelerated_surface_mac.h
===================================================================
--- content/child/npapi/webplugin_accelerated_surface_mac.h (revision 0)
+++ content/child/npapi/webplugin_accelerated_surface_mac.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_ACCELERATED_SURFACE_MAC_H_
-#define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_ACCELERATED_SURFACE_MAC_H_
+#ifndef CONTENT_CHILD_NPAPI_WEBPLUGIN_ACCELERATED_SURFACE_MAC_H_
+#define CONTENT_CHILD_NPAPI_WEBPLUGIN_ACCELERATED_SURFACE_MAC_H_
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/size.h"
@@ -11,8 +11,7 @@
// Avoid having to include OpenGL headers here.
typedef struct _CGLContextObject* CGLContextObj;
-namespace webkit {
-namespace npapi {
+namespace content {
// Interface class for interacting with an accelerated plugin surface, used
// for the Core Animation flavors of plugin drawing on the Mac.
@@ -35,7 +34,6 @@
virtual void EndDrawing() = 0;
};
-} // namespace npapi
-} // namespace webkit
+} // namespace content
-#endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_ACCELERATED_SURFACE_MAC_H_
+#endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_ACCELERATED_SURFACE_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698