Backed out changeset 2960ea3e50ca (bug 1881157) for causing crashtest assertion failu...
[gecko.git] / layout / svg / ISVGSVGFrame.h
blobce034b5338e4efb2ac955b2653d7faac462af0ff
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/. */
7 #ifndef LAYOUT_SVG_ISVGSVGFRAME_H_
8 #define LAYOUT_SVG_ISVGSVGFRAME_H_
10 #include "nsQueryFrame.h"
12 namespace mozilla {
14 class ISVGSVGFrame {
15 public:
16 NS_DECL_QUERYFRAME_TARGET(ISVGSVGFrame)
18 /**
19 * Called when non-attribute changes have caused the element's width/height
20 * or its for-children transform to change, and to get the element to notify
21 * its children appropriately. aFlags must be set to
22 * ISVGDisplayableFrame::COORD_CONTEXT_CHANGED and/or
23 * ISVGDisplayableFrame::TRANSFORM_CHANGED.
25 virtual void NotifyViewportOrTransformChanged(uint32_t aFlags) = 0;
28 } // namespace mozilla
30 #endif // LAYOUT_SVG_ISVGSVGFRAME_H_