Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/layout/svg/nsSVGSymbolFrame.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_SVGISYMBOLFRAME_H__
8
#define __NS_SVGISYMBOLFRAME_H__
9
10
#include "nsSVGViewportFrame.h"
11
12
class nsSVGSymbolFrame final : public nsSVGViewportFrame
13
{
14
  friend nsIFrame*
15
  NS_NewSVGSymbolFrame(nsIPresShell* aPresShell, ComputedStyle* aStyle);
16
protected:
17
  explicit nsSVGSymbolFrame(ComputedStyle* aStyle)
18
    : nsSVGViewportFrame(aStyle, kClassID)
19
0
  {
20
0
  }
21
22
public:
23
  NS_DECL_QUERYFRAME
24
  NS_DECL_FRAMEARENA_HELPERS(nsSVGSymbolFrame)
25
26
#ifdef DEBUG
27
  virtual void Init(nsIContent*       aContent,
28
                    nsContainerFrame* aParent,
29
                    nsIFrame*         aPrevInFlow) override;
30
#endif
31
32
#ifdef DEBUG_FRAME_DUMP
33
  virtual nsresult GetFrameName(nsAString& aResult) const override
34
  {
35
    return MakeFrameName(NS_LITERAL_STRING("SVGSymbol"), aResult);
36
  }
37
#endif
38
39
};
40
41
#endif