This source file includes following definitions.
- verticalOverflow
 
- m_verticalOverflow
 
- m_verticalOverflow
 
- m_verticalOverflow
 
- interfaceName
 
- trace
 
#include "config.h"
#include "core/events/OverflowEvent.h"
namespace WebCore {
OverflowEventInit::OverflowEventInit()
    : orient(0)
    , horizontalOverflow(false)
    , verticalOverflow(false)
{
}
OverflowEvent::OverflowEvent()
    : Event(EventTypeNames::overflowchanged, false, false)
    , m_orient(VERTICAL)
    , m_horizontalOverflow(false)
    , m_verticalOverflow(false)
{
    ScriptWrappable::init(this);
}
OverflowEvent::OverflowEvent(bool horizontalOverflowChanged, bool horizontalOverflow, bool verticalOverflowChanged, bool verticalOverflow)
    : Event(EventTypeNames::overflowchanged, false, false)
    , m_horizontalOverflow(horizontalOverflow)
    , m_verticalOverflow(verticalOverflow)
{
    ASSERT(horizontalOverflowChanged || verticalOverflowChanged);
    ScriptWrappable::init(this);
    if (horizontalOverflowChanged && verticalOverflowChanged)
        m_orient = BOTH;
    else if (horizontalOverflowChanged)
        m_orient = HORIZONTAL;
    else
        m_orient = VERTICAL;
}
OverflowEvent::OverflowEvent(const AtomicString& type, const OverflowEventInit& initializer)
    : Event(type, initializer)
    , m_orient(initializer.orient)
    , m_horizontalOverflow(initializer.horizontalOverflow)
    , m_verticalOverflow(initializer.verticalOverflow)
{
    ScriptWrappable::init(this);
}
const AtomicString& OverflowEvent::interfaceName() const
{
    return EventNames::OverflowEvent;
}
void OverflowEvent::trace(Visitor* visitor)
{
    Event::trace(visitor);
}
}