mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 18:50:08 +00:00
Added getter stubs for document and selection
This commit is contained in:
parent
bd38d52f40
commit
5d298d534d
@ -946,6 +946,20 @@ nsEditorAppCore::GetContentsAsHTML(nsString& aContentsAsHTML)
|
||||
}
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsEditorAppCore::GetEditorDocument(nsIDOMDocument** aEditorDocument)
|
||||
{
|
||||
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsEditorAppCore::GetEditorSelection(nsIDOMSelection** aEditorSelection)
|
||||
{
|
||||
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
// Pop up the link dialog once we have dialogs ... for now, hardwire it
|
||||
NS_IMETHODIMP
|
||||
nsEditorAppCore::InsertLink()
|
||||
|
@ -64,11 +64,15 @@ class nsEditorAppCore : public nsBaseAppCore,
|
||||
NS_IMETHOD SetTextProperty(const nsString& aAttr);
|
||||
NS_IMETHOD RemoveTextProperty(const nsString& aAttr);
|
||||
NS_IMETHOD GetTextProperty(const nsString& aAttr, PRBool* aFirstHas, PRBool* aAnyHas, PRBool* aAllHas);
|
||||
NS_IMETHOD GetContentsAsText(nsString& aContentsAsText);
|
||||
NS_IMETHOD GetContentsAsHTML(nsString& aContentsAsHTML);
|
||||
NS_IMETHOD GetEditorDocument(nsIDOMDocument** aEditorDocument);
|
||||
NS_IMETHOD GetEditorSelection(nsIDOMSelection** aEditorSelection);
|
||||
|
||||
NS_IMETHOD Undo();
|
||||
NS_IMETHOD Redo();
|
||||
NS_IMETHOD Back();
|
||||
NS_IMETHOD GetContentsAsText(nsString& aContentsAsText);
|
||||
NS_IMETHOD GetContentsAsHTML(nsString& aContentsAsHTML);
|
||||
|
||||
NS_IMETHOD Forward();
|
||||
NS_IMETHOD LoadUrl(const nsString& aUrl);
|
||||
NS_IMETHOD SetToolbarWindow(nsIDOMWindow* aWin);
|
||||
|
Loading…
x
Reference in New Issue
Block a user