2017-10-27 20:33:53 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2000-04-01 18:38:51 +04:00
|
|
|
|
2020-07-15 02:40:05 +03:00
|
|
|
#ifndef LAYOUT_SVG_ISVGSVGFRAME_H_
|
|
|
|
#define LAYOUT_SVG_ISVGSVGFRAME_H_
|
2000-04-01 18:38:51 +04:00
|
|
|
|
2009-01-12 22:20:59 +03:00
|
|
|
#include "nsQueryFrame.h"
|
2000-04-01 18:38:51 +04:00
|
|
|
|
2020-07-09 21:34:54 +03:00
|
|
|
namespace mozilla {
|
|
|
|
|
|
|
|
class ISVGSVGFrame {
|
2004-08-05 13:01:13 +04:00
|
|
|
public:
|
2020-07-09 21:34:54 +03:00
|
|
|
NS_DECL_QUERYFRAME_TARGET(ISVGSVGFrame)
|
2000-04-01 18:38:51 +04:00
|
|
|
|
2012-05-03 20:05:53 +04:00
|
|
|
/**
|
|
|
|
* Called when non-attribute changes have caused the element's width/height
|
|
|
|
* or its for-children transform to change, and to get the element to notify
|
|
|
|
* its children appropriately. aFlags must be set to
|
2020-07-09 21:34:54 +03:00
|
|
|
* ISVGDisplayableFrame::COORD_CONTEXT_CHANGED and/or
|
|
|
|
* ISVGDisplayableFrame::TRANSFORM_CHANGED.
|
2012-05-03 20:05:53 +04:00
|
|
|
*/
|
2012-08-22 19:56:38 +04:00
|
|
|
virtual void NotifyViewportOrTransformChanged(uint32_t aFlags) = 0;
|
2000-04-01 18:38:51 +04:00
|
|
|
};
|
|
|
|
|
2020-07-09 21:34:54 +03:00
|
|
|
} // namespace mozilla
|
|
|
|
|
2020-07-15 02:40:05 +03:00
|
|
|
#endif // LAYOUT_SVG_ISVGSVGFRAME_H_
|