The nsIWebBrowserSiteWindow has been replaced by the more generic
nsIEmbeddingSiteWindow. From today you must use the new interface.

The two interfaces are still implemented on the same objects but you
will need to update the code in the following ways:

  1. The destroy() method has been moved to nsIWebBrowserChrome as
     destroyBrowserWindow(). Remove or rename your implementation of
     this method.
  2. nsIEmbeddingSiteWindow has a visibility property. Provide
     implementations of SetVisibility & GetVisibility
  3. nsIEmbeddingSiteWindow replaces the SetPosition, SetSize &
     SetSizeAndPosition methods with a single method called
     SetDimensions. Similarly GetSize, GetPosition & GetSizeAndPosition
     are replaced by GetDimensions. Update your code to implement the
     new methods. Use the flags parameter to test whether the caller
     wants to set/get size and/or position.
  4. The interface is for embedding objects such as the webbrowser
     object to call *up* to the embedder to request a change in the host
     window. Your implementation should not call back into the embedding
     object.

Thanks

Reply via email to