summaryrefslogtreecommitdiffstats
path: root/dom/base/nsIDocument.h
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-23 09:16:50 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-23 09:16:50 +0200
commit0a9acadccafe04aa5bc3335523bb55fe52ca8e50 (patch)
treeab49c5db5979719019b24c9086aa3701655702d5 /dom/base/nsIDocument.h
parentc30ebdac27c93b57e368c69e9c13055a17229992 (diff)
downloadUXP-0a9acadccafe04aa5bc3335523bb55fe52ca8e50.tar
UXP-0a9acadccafe04aa5bc3335523bb55fe52ca8e50.tar.gz
UXP-0a9acadccafe04aa5bc3335523bb55fe52ca8e50.tar.lz
UXP-0a9acadccafe04aa5bc3335523bb55fe52ca8e50.tar.xz
UXP-0a9acadccafe04aa5bc3335523bb55fe52ca8e50.zip
moebius#121: DOM - Selection API - getSelection() should exist on XMLDocument / Selection.type
https://github.com/MoonchildProductions/moebius/pull/121
Diffstat (limited to 'dom/base/nsIDocument.h')
-rw-r--r--dom/base/nsIDocument.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/base/nsIDocument.h b/dom/base/nsIDocument.h
index 8f35e9ba5..1e0c9562e 100644
--- a/dom/base/nsIDocument.h
+++ b/dom/base/nsIDocument.h
@@ -151,6 +151,7 @@ class NodeIterator;
enum class OrientationType : uint32_t;
class ProcessingInstruction;
class Promise;
+class Selection;
class StyleSheetList;
class SVGDocument;
class SVGSVGElement;
@@ -898,6 +899,8 @@ public:
*/
Element* GetRootElement() const;
+ mozilla::dom::Selection* GetSelection(mozilla::ErrorResult& aRv);
+
/**
* Retrieve information about the viewport as a data structure.
* This will return information in the viewport META data section