Moved zoom attribute from nsIGenericWindow to nsIDocShell. Updated zoom documentation.
This commit is contained in:
@@ -211,6 +211,26 @@ NS_IMETHODIMP nsDocShellBase::GetRootDocShell(nsIDocShell** aRootDocShell)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsDocShellBase::GetZoom(float* zoom)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(zoom);
|
||||
|
||||
//XXX First Check
|
||||
/**
|
||||
* Set/Get the document scale factor
|
||||
*/
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsDocShellBase::SetZoom(float zoom)
|
||||
{
|
||||
//XXX First Check
|
||||
/**
|
||||
* Set/Get the document scale factor
|
||||
*/
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
//*****************************************************************************
|
||||
// nsDocShellBase::nsIDocShellEdit
|
||||
//*****************************************************************************
|
||||
@@ -727,26 +747,6 @@ NS_IMETHODIMP nsDocShellBase::SetTitle(const PRUnichar* title)
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsDocShellBase::GetZoom(float* zoom)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(zoom);
|
||||
|
||||
//XXX First Check
|
||||
/**
|
||||
* Set/Get the document scale factor
|
||||
*/
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsDocShellBase::SetZoom(float zoom)
|
||||
{
|
||||
//XXX First Check
|
||||
/**
|
||||
* Set/Get the document scale factor
|
||||
*/
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
//*****************************************************************************
|
||||
// nsDocShellBase::nsIScrollable
|
||||
//*****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user