Cleaning up selection: changed 'RangeList' to 'Selection', thus changing implementation class of nsIDOMSelection and nsIFrameSelection to nsSelection. File nsRangeList.cpp replaced with new nsSelection.cpp
git-svn-id: svn://10.0.0.236/trunk@63660 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
4889
mozilla/content/base/src/nsSelection.cpp
Normal file
4889
mozilla/content/base/src/nsSelection.cpp
Normal file
File diff suppressed because it is too large
Load Diff
@@ -58,7 +58,7 @@ CPPSRCS = \
|
||||
nsPrintContext.cpp \
|
||||
nsPrintPreviewContext.cpp \
|
||||
nsRange.cpp \
|
||||
nsRangeList.cpp \
|
||||
nsSelection.cpp \
|
||||
nsSpaceManager.cpp \
|
||||
nsStyleChangeList.cpp \
|
||||
nsStyleCoord.cpp \
|
||||
|
||||
@@ -58,7 +58,7 @@ CPPSRCS = \
|
||||
nsStyleSet.cpp \
|
||||
nsTextFragment.cpp \
|
||||
nsXIFConverter.cpp \
|
||||
nsRangeList.cpp \
|
||||
nsSelection.cpp \
|
||||
nsLayoutAtoms.cpp \
|
||||
nsLayoutDebugger.cpp \
|
||||
nsLayoutUtils.cpp \
|
||||
@@ -104,7 +104,7 @@ CPP_OBJS= \
|
||||
.\$(OBJDIR)\nsStyleSet.obj \
|
||||
.\$(OBJDIR)\nsTextFragment.obj \
|
||||
.\$(OBJDIR)\nsXIFConverter.obj \
|
||||
.\$(OBJDIR)\nsRangeList.obj \
|
||||
.\$(OBJDIR)\nsSelection.obj \
|
||||
.\$(OBJDIR)\nsLayoutAtoms.obj \
|
||||
.\$(OBJDIR)\nsLayoutDebugger.obj \
|
||||
.\$(OBJDIR)\nsLayoutUtils.obj \
|
||||
|
||||
4889
mozilla/layout/base/src/nsSelection.cpp
Normal file
4889
mozilla/layout/base/src/nsSelection.cpp
Normal file
File diff suppressed because it is too large
Load Diff
@@ -90,7 +90,7 @@ static NS_DEFINE_CID(kTextEncoderCID, NS_TEXT_ENCODER_CID);
|
||||
|
||||
static NS_DEFINE_CID(kXBLServiceCID, NS_XBLSERVICE_CID);
|
||||
|
||||
extern nsresult NS_NewRangeList(nsIFrameSelection** aResult);
|
||||
extern nsresult NS_NewSelection(nsIFrameSelection** aResult);
|
||||
extern nsresult NS_NewRange(nsIDOMRange** aResult);
|
||||
extern nsresult NS_NewContentIterator(nsIContentIterator** aResult);
|
||||
extern nsresult NS_NewContentSubtreeIterator(nsIContentIterator** aResult);
|
||||
@@ -207,9 +207,9 @@ nsLayoutFactory::CreateInstance(nsISupports *aOuter,
|
||||
}
|
||||
#endif
|
||||
else if (mClassID.Equals(kFrameSelectionCID)) {
|
||||
res = NS_NewRangeList((nsIFrameSelection**)&inst);
|
||||
res = NS_NewSelection((nsIFrameSelection**)&inst);
|
||||
if (NS_FAILED(res)) {
|
||||
LOG_NEW_FAILURE("NS_NewRangeList", res);
|
||||
LOG_NEW_FAILURE("NS_NewSelection", res);
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
4889
mozilla/layout/generic/nsSelection.cpp
Normal file
4889
mozilla/layout/generic/nsSelection.cpp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user