LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include/mozilla/dom - SpeechSynthesisEvent.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 4 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* vim:set ts=2 sw=2 sts=2 et cindent: */
       3             : /* This Source Code Form is subject to the terms of the Mozilla Public
       4             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       5             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       6             : 
       7             : /* THIS FILE IS AUTOGENERATED FROM SpeechSynthesisEvent.webidl BY Codegen.py - DO NOT EDIT */
       8             : 
       9             : #ifndef mozilla_dom_SpeechSynthesisEvent_h
      10             : #define mozilla_dom_SpeechSynthesisEvent_h
      11             : 
      12             : #include "mozilla/Attributes.h"
      13             : #include "mozilla/ErrorResult.h"
      14             : #include "mozilla/dom/BindingUtils.h"
      15             : #include "mozilla/dom/Event.h"
      16             : #include "mozilla/dom/SpeechSynthesisEventBinding.h"
      17             : 
      18             : struct JSContext;
      19             : namespace mozilla {
      20             : namespace dom {
      21             : 
      22             : class SpeechSynthesisEvent : public Event
      23             : {
      24             : public:
      25             :   NS_DECL_ISUPPORTS_INHERITED
      26           0 :   NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS_INHERITED(SpeechSynthesisEvent, Event)
      27             : protected:
      28             :   virtual ~SpeechSynthesisEvent();
      29             :   explicit SpeechSynthesisEvent(mozilla::dom::EventTarget* aOwner);
      30             : 
      31             :   RefPtr<SpeechSynthesisUtterance> mUtterance;
      32             :   uint32_t mCharIndex;
      33             :   Nullable<uint32_t> mCharLength;
      34             :   float mElapsedTime;
      35             :   nsString mName;
      36             : 
      37             : public:
      38             :   virtual SpeechSynthesisEvent* AsSpeechSynthesisEvent() override;
      39             : 
      40             :   virtual JSObject* WrapObjectInternal(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
      41             : 
      42             :   static already_AddRefed<SpeechSynthesisEvent> Constructor(mozilla::dom::EventTarget* aOwner, const nsAString& aType, const SpeechSynthesisEventInit& aEventInitDict);
      43             : 
      44             :   static already_AddRefed<SpeechSynthesisEvent> Constructor(const GlobalObject& aGlobal, const nsAString& aType, const SpeechSynthesisEventInit& aEventInitDict, ErrorResult& aRv);
      45             : 
      46             :   SpeechSynthesisUtterance* Utterance() const;
      47             : 
      48             :   uint32_t CharIndex() const;
      49             : 
      50             :   Nullable<uint32_t> GetCharLength() const;
      51             : 
      52             :   float ElapsedTime() const;
      53             : 
      54             :   void GetName(nsString& aRetVal) const;
      55             : };
      56             : 
      57             : } // namespace dom
      58             : } // namespace mozilla
      59             : 
      60             : #endif // mozilla_dom_SpeechSynthesisEvent_h

Generated by: LCOV version 1.13