| 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_
|
|
|