Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Attributes
nsDOMWindowUtils Class Reference

#include <nsDOMWindowUtils.h>

Inheritance diagram for nsDOMWindowUtils:
Inheritance graph
Collaboration diagram for nsDOMWindowUtils:
Collaboration graph

List of all members.

Public Member Functions

 nsDOMWindowUtils (nsGlobalWindow *aWindow)
 ~nsDOMWindowUtils ()
AString getDocumentMetadata (in AString aName)
 Function to get metadata associated with the window's current document.

Public Attributes

attribute unsigned short imageAnimationMode
 Image animation mode of the window.

Protected Attributes

nsRefPtr< nsGlobalWindowmWindow

Detailed Description

Definition at line 45 of file nsDOMWindowUtils.h.

Constructor & Destructor Documentation

Definition at line 54 of file nsDOMWindowUtils.cpp.

  : mWindow(aWindow)

Definition at line 59 of file nsDOMWindowUtils.cpp.


Member Function Documentation

AString nsIDOMWindowUtils::getDocumentMetadata ( in AString  aName) [inherited]

Function to get metadata associated with the window's current document.

aNamethe name of the metadata. This should be all lowercase.
the value of the metadata, or the empty string if it's not set

Member Data Documentation

Image animation mode of the window.

When this attribute's value is changed, the implementation should set all images in the window to the given value. That is, when set to kDontAnimMode, all images will stop animating. The attribute's value must be one of the animationMode values from imgIContainer.

Images may individually override the window's setting after the window's mode is set. Therefore images given different modes since the last setting of the window's mode may behave out of line with the window's overall mode.
The attribute's value is the window's overall mode. It may for example continue to report kDontAnimMode after all images have subsequently been individually animated.
Only images immediately in this window are affected; this is not recursive to subwindows.
See also:

Definition at line 66 of file nsIDOMWindowUtils.idl.

Definition at line 55 of file nsDOMWindowUtils.h.

The documentation for this class was generated from the following files: