| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_EVENT_CONVERSION_H__ | 5 #ifndef WEBKIT_GLUE_EVENT_CONVERSION_H__ |
| 6 #define WEBKIT_GLUE_EVENT_CONVERSION_H__ | 6 #define WEBKIT_GLUE_EVENT_CONVERSION_H__ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" |
| 9 | 10 |
| 10 #pragma warning(push, 0) | 11 MSVC_PUSH_WARNING_LEVEL(0); |
| 11 #include "PlatformKeyboardEvent.h" | 12 #include "PlatformKeyboardEvent.h" |
| 12 #include "PlatformMouseEvent.h" | 13 #include "PlatformMouseEvent.h" |
| 13 #include "PlatformWheelEvent.h" | 14 #include "PlatformWheelEvent.h" |
| 14 #pragma warning(pop) | 15 MSVC_POP_WARNING(); |
| 15 | 16 |
| 16 namespace WebCore { | 17 namespace WebCore { |
| 17 class Widget; | 18 class Widget; |
| 18 } | 19 } |
| 19 | 20 |
| 20 class WebMouseEvent; | 21 class WebMouseEvent; |
| 21 class WebMouseWheelEvent; | 22 class WebMouseWheelEvent; |
| 22 class WebKeyboardEvent; | 23 class WebKeyboardEvent; |
| 23 | 24 |
| 24 // These classes are used to convert from WebInputEvent subclasses to | 25 // These classes are used to convert from WebInputEvent subclasses to |
| (...skipping 19 matching lines...) Expand all Loading... |
| 44 | 45 |
| 45 class MakePlatformKeyboardEvent : public WebCore::PlatformKeyboardEvent { | 46 class MakePlatformKeyboardEvent : public WebCore::PlatformKeyboardEvent { |
| 46 public: | 47 public: |
| 47 MakePlatformKeyboardEvent(const WebKeyboardEvent& e); | 48 MakePlatformKeyboardEvent(const WebKeyboardEvent& e); |
| 48 void SetKeyType(Type type); | 49 void SetKeyType(Type type); |
| 49 bool IsCharacterKey() const; | 50 bool IsCharacterKey() const; |
| 50 }; | 51 }; |
| 51 | 52 |
| 52 #endif // WEBKIT_GLUE_EVENT_CONVERSION_H__ | 53 #endif // WEBKIT_GLUE_EVENT_CONVERSION_H__ |
| 53 | 54 |
| OLD | NEW |