nsISVGSVGFrame.h 873 B

123456789101112131415161718192021222324252627
  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. #ifndef __NS_ISVGSVGFRAME_H__
  6. #define __NS_ISVGSVGFRAME_H__
  7. #include "nsQueryFrame.h"
  8. class nsISVGSVGFrame
  9. {
  10. public:
  11. NS_DECL_QUERYFRAME_TARGET(nsISVGSVGFrame)
  12. /**
  13. * Called when non-attribute changes have caused the element's width/height
  14. * or its for-children transform to change, and to get the element to notify
  15. * its children appropriately. aFlags must be set to
  16. * nsISVGChildFrame::COORD_CONTEXT_CHANGED and/or
  17. * nsISVGChildFrame::TRANSFORM_CHANGED.
  18. */
  19. virtual void NotifyViewportOrTransformChanged(uint32_t aFlags)=0;
  20. };
  21. #endif // __NS_ISVGSVGFRAME_H__