bool DOMMouseEvent::metaKey() { if (!m_event || !m_event->isMouseEvent()) return false; WebCore::MouseEvent* mouseEvent = static_cast<WebCore::MouseEvent*>(m_event.get()); return mouseEvent->metaKey() ? true : false; }
HRESULT STDMETHODCALLTYPE DOMMouseEvent::metaKey( /* [retval][out] */ BOOL* result) { *result = FALSE; if (!m_event || !m_event->isMouseEvent()) return E_FAIL; WebCore::MouseEvent* mouseEvent = static_cast<WebCore::MouseEvent*>(m_event.get()); *result = mouseEvent->metaKey() ? TRUE : FALSE; return S_OK; }
HRESULT DOMMouseEvent::metaKey(_Out_ BOOL* result) { if (!result) return E_POINTER; *result = FALSE; if (!m_event || !m_event->isMouseEvent()) return E_FAIL; WebCore::MouseEvent* mouseEvent = static_cast<WebCore::MouseEvent*>(m_event.get()); *result = mouseEvent->metaKey() ? TRUE : FALSE; return S_OK; }