Added support for setting a docShell into viewSource mode or viewNormal mode.

This commit is contained in:
tbogard%aol.net 2000-03-14 04:35:37 +00:00
Родитель 65281f10e2
Коммит 25a752064a
1 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -130,6 +130,17 @@ interface nsIDocShell : nsISupports
*/
attribute boolean allowPlugins;
/*
Definitions for the viewModes the docShell can be in.
*/
const long viewNormal=0;
const long viewSource=1;
/*
This is the mode that the docShell is in for viewing when a load occurs.
*/
attribute long viewMode;
/**
* Set/Get the document scale factor. When setting this attribute, a
* NS_ERROR_NOT_IMPLEMENTED error may be returned by implementations