| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 : Event(type, initializer) | 66 : Event(type, initializer) |
| 67 , m_orient(initializer.orient) | 67 , m_orient(initializer.orient) |
| 68 , m_horizontalOverflow(initializer.horizontalOverflow) | 68 , m_horizontalOverflow(initializer.horizontalOverflow) |
| 69 , m_verticalOverflow(initializer.verticalOverflow) | 69 , m_verticalOverflow(initializer.verticalOverflow) |
| 70 { | 70 { |
| 71 ScriptWrappable::init(this); | 71 ScriptWrappable::init(this); |
| 72 } | 72 } |
| 73 | 73 |
| 74 const AtomicString& OverflowEvent::interfaceName() const | 74 const AtomicString& OverflowEvent::interfaceName() const |
| 75 { | 75 { |
| 76 return eventNames().interfaceForOverflowEvent; | 76 return EventNames::OverflowEvent; |
| 77 } | 77 } |
| 78 | 78 |
| 79 void OverflowEvent::initOverflowEvent(unsigned short orient, bool horizontalOver
flow, bool verticalOverflow) | 79 void OverflowEvent::initOverflowEvent(unsigned short orient, bool horizontalOver
flow, bool verticalOverflow) |
| 80 { | 80 { |
| 81 if (dispatched()) | 81 if (dispatched()) |
| 82 return; | 82 return; |
| 83 | 83 |
| 84 m_orient = orient; | 84 m_orient = orient; |
| 85 m_horizontalOverflow = horizontalOverflow; | 85 m_horizontalOverflow = horizontalOverflow; |
| 86 m_verticalOverflow = verticalOverflow; | 86 m_verticalOverflow = verticalOverflow; |
| 87 } | 87 } |
| 88 | 88 |
| 89 } | 89 } |
| OLD | NEW |