mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 938699 - Remove FindElementWithViewId from nsIDOMWindowUtils.idl and nsDOMWindowUtils.cpp. r=kats
This commit is contained in:
parent
86f6ebd5b4
commit
9fedeb1c78
@ -1732,14 +1732,6 @@ nsDOMWindowUtils::GetFocusedInputType(char** aType)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDOMWindowUtils::FindElementWithViewId(nsViewID aID,
|
||||
nsIDOMElement** aResult)
|
||||
{
|
||||
RefPtr<nsIContent> content = nsLayoutUtils::FindContentFor(aID);
|
||||
return content ? CallQueryInterface(content, aResult) : NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDOMWindowUtils::GetViewId(nsIDOMElement* aElement, nsViewID* aResult)
|
||||
{
|
||||
|
@ -1487,13 +1487,6 @@ interface nsIDOMWindowUtils : nsISupports {
|
||||
*/
|
||||
readonly attribute string focusedInputType;
|
||||
|
||||
/**
|
||||
* Given a view ID from the compositor process, retrieve the element
|
||||
* associated with a view. For scrollpanes for documents, the root
|
||||
* element of the document is returned.
|
||||
*/
|
||||
nsIDOMElement findElementWithViewId(in nsViewID aId);
|
||||
|
||||
/**
|
||||
* Find the view ID for a given element. This is the reverse of
|
||||
* findElementWithViewId().
|
||||
|
Loading…
Reference in New Issue
Block a user