Line data Source code
1 : /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 : /* This Source Code Form is subject to the terms of the Mozilla Public
3 : * License, v. 2.0. If a copy of the MPL was not distributed with this
4 : * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 :
6 : #ifndef __NS_ISVGSVGFRAME_H__
7 : #define __NS_ISVGSVGFRAME_H__
8 :
9 : #include "nsQueryFrame.h"
10 :
11 22 : class nsISVGSVGFrame
12 : {
13 : public:
14 : NS_DECL_QUERYFRAME_TARGET(nsISVGSVGFrame)
15 :
16 : /**
17 : * Called when non-attribute changes have caused the element's width/height
18 : * or its for-children transform to change, and to get the element to notify
19 : * its children appropriately. aFlags must be set to
20 : * nsSVGDisplayableFrame::COORD_CONTEXT_CHANGED and/or
21 : * nsSVGDisplayableFrame::TRANSFORM_CHANGED.
22 : */
23 : virtual void NotifyViewportOrTransformChanged(uint32_t aFlags)=0;
24 : };
25 :
26 : #endif // __NS_ISVGSVGFRAME_H__
|