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

Unified Diff: webkit/plugins/npapi/plugin_instance_mac.mm

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/plugin_instance.cc ('k') | webkit/plugins/npapi/plugin_lib.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/plugin_instance_mac.mm
===================================================================
--- webkit/plugins/npapi/plugin_instance_mac.mm (revision 0)
+++ webkit/plugins/npapi/plugin_instance_mac.mm (working copy)
@@ -2,12 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "build/build_config.h"
-
#import <AppKit/AppKit.h>
#include "base/logging.h"
-#include "webkit/glue/plugins/plugin_instance.h"
+#include "build/build_config.h"
+#include "webkit/plugins/npapi/plugin_instance.h"
// When C++ exceptions are disabled, the C++ library defines |try| and
// |catch| so as to allow exception-expecting C++ code to build properly when
@@ -26,6 +25,9 @@
@end
#endif
+namespace webkit {
+namespace npapi {
+
namespace {
// Returns an autoreleased NSEvent constructed from the given np_event,
@@ -76,8 +78,6 @@
} // namespace
-namespace NPAPI {
-
NPError PluginInstance::PopUpContextMenu(NPMenu* menu) {
if (!currently_handled_event_)
return NPERR_GENERIC_ERROR;
@@ -130,4 +130,5 @@
return return_val;
}
-} // namespace NPAPI
+} // namespace npapi
+} // namespace webkit
« no previous file with comments | « webkit/plugins/npapi/plugin_instance.cc ('k') | webkit/plugins/npapi/plugin_lib.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698