LCOV - code coverage report
Current view: top level - dom/animation - AnimationEffectTiming.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 5 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             : #ifndef mozilla_dom_AnimationEffectTiming_h
       8             : #define mozilla_dom_AnimationEffectTiming_h
       9             : 
      10             : #include "mozilla/dom/AnimationEffectTimingReadOnly.h"
      11             : #include "mozilla/Attributes.h" // For MOZ_NON_OWNING_REF
      12             : #include "nsStringFwd.h"
      13             : 
      14             : namespace mozilla {
      15             : namespace dom {
      16             : 
      17             : class KeyframeEffect;
      18             : 
      19           0 : class AnimationEffectTiming : public AnimationEffectTimingReadOnly
      20             : {
      21             : public:
      22           0 :   AnimationEffectTiming(nsIDocument* aDocument,
      23             :                         const TimingParams& aTiming,
      24             :                         KeyframeEffect* aEffect)
      25           0 :     : AnimationEffectTimingReadOnly(aDocument, aTiming)
      26           0 :     , mEffect(aEffect) { }
      27             : 
      28             :   JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
      29             : 
      30           0 :   void Unlink() override { mEffect = nullptr; }
      31             : 
      32             :   void SetDelay(double aDelay);
      33             :   void SetEndDelay(double aEndDelay);
      34             :   void SetFill(const FillMode& aFill);
      35             :   void SetIterationStart(double aIterationStart, ErrorResult& aRv);
      36             :   void SetIterations(double aIterations, ErrorResult& aRv);
      37             :   void SetDuration(const UnrestrictedDoubleOrString& aDuration,
      38             :                    ErrorResult& aRv);
      39             :   void SetDirection(const PlaybackDirection& aDirection);
      40             :   void SetEasing(const nsAString& aEasing, ErrorResult& aRv);
      41             : 
      42             : private:
      43             :   KeyframeEffect* MOZ_NON_OWNING_REF mEffect;
      44             : };
      45             : 
      46             : } // namespace dom
      47             : } // namespace mozilla
      48             : 
      49             : #endif // mozilla_dom_AnimationEffectTiming_h

Generated by: LCOV version 1.13