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
This commit is contained in:
mjudge%netscape.com
2000-09-14 11:40:44 +00:00
parent 0bec30a06f
commit a3f38f63e7
4 changed files with 0 additions and 58 deletions

View File

@@ -30,8 +30,6 @@ MODULE = layout
IDLSRCS = \
Range.idl \
Selection.idl \
SelectionListener.idl \
$(NULL)
IDLSRCS := $(addprefix $(srcdir)/, $(IDLSRCS))

View File

@@ -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);
};

View File

@@ -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);
};

View File

@@ -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