зеркало из https://github.com/mozilla/gecko-dev.git
Remove unused and unimplemented attribute on nsIMarkupDocumentViewer. Bug
282973, r+sr=jst
This commit is contained in:
Родитель
dd61e1c7b5
Коммит
3da18aa1d2
|
@ -52,7 +52,7 @@
|
|||
interface nsIDOMNode;
|
||||
|
||||
|
||||
[scriptable, uuid(c33a616e-8020-4f01-a1eb-19a32370d566)]
|
||||
[scriptable, uuid(18cbdb18-3917-42fd-9c4a-0b2112d41a6d)]
|
||||
interface nsIMarkupDocumentViewer : nsISupports
|
||||
{
|
||||
|
||||
|
@ -61,9 +61,6 @@ interface nsIMarkupDocumentViewer : nsISupports
|
|||
*/
|
||||
void scrollToNode(in nsIDOMNode node);
|
||||
|
||||
/** if true, plugins are allowed within the doc shell. default = true */
|
||||
attribute boolean allowPlugins;
|
||||
|
||||
/** The amount by which to scale all text. Default is 1.0. */
|
||||
attribute float textZoom;
|
||||
|
||||
|
|
|
@ -434,7 +434,6 @@ protected:
|
|||
// document management data
|
||||
// these items are specific to markup documents (html and xml)
|
||||
// may consider splitting these out into a subclass
|
||||
PRPackedBool mAllowPlugins;
|
||||
PRPackedBool mIsSticky;
|
||||
|
||||
};
|
||||
|
@ -493,7 +492,6 @@ void DocumentViewerImpl::PrepareToStartLoad()
|
|||
DocumentViewerImpl::DocumentViewerImpl(nsPresContext* aPresContext)
|
||||
: mPresContext(aPresContext),
|
||||
mHintCharsetSource(kCharsetUninitialized),
|
||||
mAllowPlugins(PR_TRUE),
|
||||
mIsSticky(PR_TRUE)
|
||||
{
|
||||
PrepareToStartLoad();
|
||||
|
@ -2257,20 +2255,6 @@ NS_IMETHODIMP DocumentViewerImpl::ScrollToNode(nsIDOMNode* aNode)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP DocumentViewerImpl::GetAllowPlugins(PRBool* aAllowPlugins)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aAllowPlugins);
|
||||
|
||||
*aAllowPlugins = mAllowPlugins;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP DocumentViewerImpl::SetAllowPlugins(PRBool aAllowPlugins)
|
||||
{
|
||||
mAllowPlugins = aAllowPlugins;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
DocumentViewerImpl::CallChildren(CallChildFunc aFunc, void* aClosure)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче