NotificationEvent.cpp 818 B

1234567891011121314151617181920212223242526
  1. /* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. #include "NotificationEvent.h"
  6. using namespace mozilla::dom;
  7. BEGIN_WORKERS_NAMESPACE
  8. NotificationEvent::NotificationEvent(EventTarget* aOwner)
  9. : ExtendableEvent(aOwner)
  10. {
  11. }
  12. NS_IMPL_ADDREF_INHERITED(NotificationEvent, ExtendableEvent)
  13. NS_IMPL_RELEASE_INHERITED(NotificationEvent, ExtendableEvent)
  14. NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(NotificationEvent)
  15. NS_INTERFACE_MAP_END_INHERITING(ExtendableEvent)
  16. NS_IMPL_CYCLE_COLLECTION_INHERITED(NotificationEvent, ExtendableEvent, mNotification)
  17. END_WORKERS_NAMESPACE