зеркало из https://github.com/mozilla/gecko-dev.git
Added support for setting a docShell into viewSource mode or viewNormal mode.
This commit is contained in:
Родитель
65281f10e2
Коммит
25a752064a
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче