Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/layout/svg/nsSVGInnerSVGFrame.h
Line
Count
Source (jump to first uncovered line)
1
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
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 __NS_SVGINNERSVGFRAME_H__
8
#define __NS_SVGINNERSVGFRAME_H__
9
10
#include "nsSVGViewportFrame.h"
11
12
class nsSVGInnerSVGFrame final
13
  : public nsSVGViewportFrame
14
{
15
  friend nsIFrame*
16
  NS_NewSVGInnerSVGFrame(nsIPresShell* aPresShell, ComputedStyle* aStyle);
17
protected:
18
  explicit nsSVGInnerSVGFrame(ComputedStyle* aStyle)
19
    : nsSVGViewportFrame(aStyle, kClassID)
20
0
  {
21
0
  }
22
23
public:
24
  NS_DECL_QUERYFRAME
25
  NS_DECL_FRAMEARENA_HELPERS(nsSVGInnerSVGFrame)
26
27
#ifdef DEBUG
28
  virtual void Init(nsIContent*       aContent,
29
                    nsContainerFrame* aParent,
30
                    nsIFrame*         aPrevInFlow) override;
31
#endif
32
33
#ifdef DEBUG_FRAME_DUMP
34
  virtual nsresult GetFrameName(nsAString& aResult) const override
35
  {
36
    return MakeFrameName(NS_LITERAL_STRING("SVGInnerSVG"), aResult);
37
  }
38
#endif
39
};
40
41
#endif
42