From a3f38f63e716119ed851f9fbfd19c3fade85d21e Mon Sep 17 00:00:00 2001 From: "mjudge%netscape.com" Date: Thu, 14 Sep 2000 11:40:44 +0000 Subject: [PATCH] removing selection.idl from here and moving it to layout\base\public as xpidl. r=sfraser r=anthonyd bug=48575 git-svn-id: svn://10.0.0.236/trunk@79117 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/dom/public/idl/range/Makefile.in | 2 - mozilla/dom/public/idl/range/Selection.idl | 42 ------------------- .../public/idl/range/SelectionListener.idl | 12 ------ mozilla/dom/public/idl/range/makefile.win | 2 - 4 files changed, 58 deletions(-) delete mode 100644 mozilla/dom/public/idl/range/Selection.idl delete mode 100644 mozilla/dom/public/idl/range/SelectionListener.idl diff --git a/mozilla/dom/public/idl/range/Makefile.in b/mozilla/dom/public/idl/range/Makefile.in index 2ae79455c89..537bb66e225 100644 --- a/mozilla/dom/public/idl/range/Makefile.in +++ b/mozilla/dom/public/idl/range/Makefile.in @@ -30,8 +30,6 @@ MODULE = layout IDLSRCS = \ Range.idl \ - Selection.idl \ - SelectionListener.idl \ $(NULL) IDLSRCS := $(addprefix $(srcdir)/, $(IDLSRCS)) diff --git a/mozilla/dom/public/idl/range/Selection.idl b/mozilla/dom/public/idl/range/Selection.idl deleted file mode 100644 index c43a18b5de1..00000000000 --- a/mozilla/dom/public/idl/range/Selection.idl +++ /dev/null @@ -1,42 +0,0 @@ - interface Selection { -/* IID: { 0xa6cf90e1, 0x15b3, 0x11d2, \ - { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } } */ - - readonly attribute Node anchorNode; - readonly attribute long anchorOffset; - - readonly attribute Node focusNode; - readonly attribute long focusOffset; - - readonly attribute boolean isCollapsed; - - readonly attribute long rangeCount; - - Range getRangeAt(in long index); - - void clearSelection(); - - void collapse(in Node parentNode, in long offset); - void extend(in Node parentNode, in long offset); - - void collapseToStart(); - void collapseToEnd(); - void selectAllChildren(in Node parentNode); - - boolean containsNode(in Node node, in boolean recursive); - - void deleteFromDocument(); - - void addRange(in Range range); - void removeRange(in Range range); - - void startBatchChanges(); - void endBatchChanges(); - - void addSelectionListener(in SelectionListener newListener); - void removeSelectionListener(in SelectionListener listenerToRemove); - void setHint(in boolean right); - boolean getHint(); - noscript xpidl nsIEnumerator getEnumerator(); - DOMString toString(in DOMString formatType, in unsigned long flags, in int wrapCount); -}; diff --git a/mozilla/dom/public/idl/range/SelectionListener.idl b/mozilla/dom/public/idl/range/SelectionListener.idl deleted file mode 100644 index b318c3daef8..00000000000 --- a/mozilla/dom/public/idl/range/SelectionListener.idl +++ /dev/null @@ -1,12 +0,0 @@ - interface SelectionListener { -/* IID: { 0xa6cf90e2, 0x15b3, 0x11d2, \ - { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32} } */ - const short NO_REASON=0; - const short DRAG_REASON=1; - const short MOUSEDOWN_REASON=2;/*bitflags*/ - const short MOUSEUP_REASON=4;/*bitflags*/ - const short KEYPRESS_REASON=8;/*bitflags*/ - const short SELECTALL_REASON=16;/*bitflags*/ /* Select All special command */ - - void notifySelectionChanged(in Document doc, in Selection sel, in short reason); -}; diff --git a/mozilla/dom/public/idl/range/makefile.win b/mozilla/dom/public/idl/range/makefile.win index fd114cbd707..876785ee03c 100644 --- a/mozilla/dom/public/idl/range/makefile.win +++ b/mozilla/dom/public/idl/range/makefile.win @@ -26,8 +26,6 @@ MODULE=raptor IDLSRCS = \ Range.idl \ - Selection.idl \ - SelectionListener.idl \ XPCOM_DESTDIR=$(DEPTH)\dom\public\range JSSTUB_DESTDIR=$(DEPTH)\dom\src\range