| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_CHILD_NPAPI_PLUGIN_WEB_EVENT_CONVERTER_MAC_H_ | 5 #ifndef CONTENT_CHILD_NPAPI_PLUGIN_WEB_EVENT_CONVERTER_MAC_H_ |
| 6 #define CONTENT_CHILD_NPAPI_PLUGIN_WEB_EVENT_CONVERTER_MAC_H_ | 6 #define CONTENT_CHILD_NPAPI_PLUGIN_WEB_EVENT_CONVERTER_MAC_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "third_party/npapi/bindings/npapi.h" | 9 #include "third_party/npapi/bindings/npapi.h" |
| 9 | 10 |
| 10 namespace blink { | 11 namespace blink { |
| 11 class WebInputEvent; | 12 class WebInputEvent; |
| 12 class WebKeyboardEvent; | 13 class WebKeyboardEvent; |
| 13 class WebMouseEvent; | 14 class WebMouseEvent; |
| 14 class WebMouseWheelEvent; | 15 class WebMouseWheelEvent; |
| 15 } | 16 } |
| 16 | 17 |
| 17 namespace content { | 18 namespace content { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 45 static NSUInteger CocoaModifiers(const blink::WebInputEvent& web_event); | 46 static NSUInteger CocoaModifiers(const blink::WebInputEvent& web_event); |
| 46 | 47 |
| 47 NPCocoaEvent cocoa_event_; | 48 NPCocoaEvent cocoa_event_; |
| 48 | 49 |
| 49 DISALLOW_COPY_AND_ASSIGN(PluginWebEventConverter); | 50 DISALLOW_COPY_AND_ASSIGN(PluginWebEventConverter); |
| 50 }; | 51 }; |
| 51 | 52 |
| 52 } // namespace content | 53 } // namespace content |
| 53 | 54 |
| 54 #endif // CONTENT_CHILD_NPAPI_PLUGIN_WEB_EVENT_CONVERTER_MAC_H_ | 55 #endif // CONTENT_CHILD_NPAPI_PLUGIN_WEB_EVENT_CONVERTER_MAC_H_ |
| OLD | NEW |