| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 // Introduced in DOM Level 2: | 23 // Introduced in DOM Level 2: |
| 24 interface [ | 24 interface [ |
| 25 CustomToJSObject, | 25 CustomToJSObject, |
| 26 ConstructorTemplate=Event, | 26 ConstructorTemplate=Event, |
| 27 JSNoStaticTables, | 27 JSNoStaticTables, |
| 28 ObjCPolymorphic | 28 ObjCPolymorphic |
| 29 ] Event { | 29 ] Event { |
| 30 | 30 |
| 31 // DOM PhaseType | 31 // DOM PhaseType |
| 32 const unsigned short NONE = 0; |
| 32 const unsigned short CAPTURING_PHASE = 1; | 33 const unsigned short CAPTURING_PHASE = 1; |
| 33 const unsigned short AT_TARGET = 2; | 34 const unsigned short AT_TARGET = 2; |
| 34 const unsigned short BUBBLING_PHASE = 3; | 35 const unsigned short BUBBLING_PHASE = 3; |
| 35 | 36 |
| 36 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C | 37 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C |
| 37 // Reverse-engineered from Netscape | 38 // Reverse-engineered from Netscape |
| 38 const unsigned short MOUSEDOWN = 1; | 39 const unsigned short MOUSEDOWN = 1; |
| 39 const unsigned short MOUSEUP = 2; | 40 const unsigned short MOUSEUP = 2; |
| 40 const unsigned short MOUSEOVER = 4; | 41 const unsigned short MOUSEOVER = 4; |
| 41 const unsigned short MOUSEOUT = 8; | 42 const unsigned short MOUSEOUT = 8; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 83 |
| 83 #if defined(LANGUAGE_CPP) && LANGUAGE_CPP | 84 #if defined(LANGUAGE_CPP) && LANGUAGE_CPP |
| 84 // Extra WebCore methods exposed to allow compile-time casting in C++ | 85 // Extra WebCore methods exposed to allow compile-time casting in C++ |
| 85 boolean isMouseEvent(); | 86 boolean isMouseEvent(); |
| 86 boolean isUIEvent(); | 87 boolean isUIEvent(); |
| 87 #endif | 88 #endif |
| 88 | 89 |
| 89 }; | 90 }; |
| 90 | 91 |
| 91 } | 92 } |
| OLD | NEW |