sbIWindowChromeService Interface Reference

Component used to do platform-level tricks to hide the window chrome. Expected to only be used by sysControls.xml. More...

import"sbIWindowChromeService.idl";

Inheritance diagram for sbIWindowChromeService:
[legend]
Collaboration diagram for sbIWindowChromeService:
[legend]

Public Member Functions

void hideChrome (in nsISupports aWindow, in boolean aHide)
 Hides (or shows) the chrome of a given window. More...
 

Public Attributes

readonly attribute boolean isCompositionEnabled
 Returns true if desktop composition is enabled. More...
 

Detailed Description

Component used to do platform-level tricks to hide the window chrome. Expected to only be used by sysControls.xml.

Note
May not be implemented on all platforms; check for the component having been registered before using.

Definition at line 35 of file sbIWindowChromeService.idl.

Member Function Documentation

void sbIWindowChromeService::hideChrome ( in nsISupports  aWindow,
in boolean  aHide 
)

Hides (or shows) the chrome of a given window.

Parameters
aWindowthe window to hide or show
aHidetrue to hide the window chrome, or false to show it again (only if it was previously hidden via this service)

Member Data Documentation

readonly attribute boolean sbIWindowChromeService::isCompositionEnabled

Returns true if desktop composition is enabled.

Definition at line 47 of file sbIWindowChromeService.idl.


The documentation for this interface was generated from the following file: