| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2001 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2001 Peter Kelly (pmk@post.com) |
| 3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) | 3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) |
| 4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 // These events are general classes of events. | 149 // These events are general classes of events. |
| 150 virtual bool isUIEvent() const; | 150 virtual bool isUIEvent() const; |
| 151 virtual bool isMouseEvent() const; | 151 virtual bool isMouseEvent() const; |
| 152 virtual bool isFocusEvent() const; | 152 virtual bool isFocusEvent() const; |
| 153 virtual bool isKeyboardEvent() const; | 153 virtual bool isKeyboardEvent() const; |
| 154 virtual bool isTouchEvent() const; | 154 virtual bool isTouchEvent() const; |
| 155 virtual bool isGestureEvent() const; | 155 virtual bool isGestureEvent() const; |
| 156 virtual bool isWheelEvent() const; | 156 virtual bool isWheelEvent() const; |
| 157 virtual bool isRelatedEvent() const; | 157 virtual bool isRelatedEvent() const; |
| 158 virtual bool isPointerEvent() const; | 158 virtual bool isPointerEvent() const; |
| 159 virtual bool isInputEvent() const; |
| 159 | 160 |
| 160 // Drag events are a subset of mouse events. | 161 // Drag events are a subset of mouse events. |
| 161 virtual bool isDragEvent() const; | 162 virtual bool isDragEvent() const; |
| 162 | 163 |
| 163 // These events lack a DOM interface. | 164 // These events lack a DOM interface. |
| 164 virtual bool isClipboardEvent() const; | 165 virtual bool isClipboardEvent() const; |
| 165 virtual bool isBeforeTextInsertedEvent() const; | 166 virtual bool isBeforeTextInsertedEvent() const; |
| 166 | 167 |
| 167 virtual bool isBeforeUnloadEvent() const; | 168 virtual bool isBeforeUnloadEvent() const; |
| 168 | 169 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 // WebInputEvent instance. | 241 // WebInputEvent instance. |
| 241 double m_platformTimeStamp; | 242 double m_platformTimeStamp; |
| 242 }; | 243 }; |
| 243 | 244 |
| 244 #define DEFINE_EVENT_TYPE_CASTS(typeName) \ | 245 #define DEFINE_EVENT_TYPE_CASTS(typeName) \ |
| 245 DEFINE_TYPE_CASTS(typeName, Event, event, event->is##typeName(), event.is##t
ypeName()) | 246 DEFINE_TYPE_CASTS(typeName, Event, event, event->is##typeName(), event.is##t
ypeName()) |
| 246 | 247 |
| 247 } // namespace blink | 248 } // namespace blink |
| 248 | 249 |
| 249 #endif // Event_h | 250 #endif // Event_h |
| OLD | NEW |