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

Unified Diff: webkit/plugins/npapi/plugin_web_event_converter_mac.h

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
Index: webkit/plugins/npapi/plugin_web_event_converter_mac.h
===================================================================
--- webkit/plugins/npapi/plugin_web_event_converter_mac.h (revision 0)
+++ webkit/plugins/npapi/plugin_web_event_converter_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_GLUE_PLUGIN_PLUGIN_WEB_EVENT_CONVERTER_MAC_H_
-#define WEBKIT_GLUE_PLUGIN_PLUGIN_WEB_EVENT_CONVERTER_MAC_H_
+#ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_WEB_EVENT_CONVERTER_MAC_H_
+#define WEBKIT_PLUGINS_NPAPI_PLUGIN_WEB_EVENT_CONVERTER_MAC_H_
#include "third_party/npapi/bindings/npapi.h"
@@ -14,6 +14,9 @@
class WebMouseWheelEvent;
}
+namespace webkit {
+namespace npapi {
+
// Utility class to translating WebInputEvent structs to equivalent structures
// suitable for sending to Mac plugins (via NPP_HandleEvent).
class PluginWebEventConverter {
@@ -31,7 +34,7 @@
// Returns NULL iff InitWithEvent returned false.
virtual void* plugin_event() = 0;
-protected:
+ protected:
// To be overridden by subclasses to store a converted plugin representation
// of the given web event, suitable for returning from plugin_event.
// Returns true if the event was successfully converted.
@@ -57,4 +60,7 @@
DISALLOW_COPY_AND_ASSIGN(PluginWebEventConverterFactory);
};
-#endif // WEBKIT_GLUE_PLUGIN_PLUGIN_WEB_EVENT_CONVERTER_MAC_H_
+} // namespace npapi
+} // namespace webkit
+
+#endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_WEB_EVENT_CONVERTER_MAC_H_
« no previous file with comments | « webkit/plugins/npapi/plugin_string_stream.cc ('k') | webkit/plugins/npapi/plugin_web_event_converter_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698