Remove nsINativeScrollbar and nsNativeScrollbarFrame. patch by Colin Barrett. b=379319 r=enn sr=dbaron

This commit is contained in:
joshmoz@gmail.com 2007-05-02 00:46:50 -07:00
parent 5262f72772
commit 48cbd7d72e
5 changed files with 0 additions and 14 deletions

View File

@ -511,7 +511,6 @@ GK_ATOM(_namespace, "namespace")
GK_ATOM(namespaceAlias, "namespace-alias")
GK_ATOM(namespaceUri, "namespace-uri")
GK_ATOM(NaN, "NaN")
GK_ATOM(nativescrollbar, "nativescrollbar")
GK_ATOM(negate, "negate")
GK_ATOM(never, "never")
GK_ATOM(_new, "new")

View File

@ -365,9 +365,6 @@ NS_NewScrollbarFrame (nsIPresShell* aPresShell, nsStyleContext* aContext);
nsIFrame*
NS_NewScrollbarButtonFrame (nsIPresShell* aPresShell, nsStyleContext* aContext);
nsIFrame*
NS_NewNativeScrollbarFrame (nsIPresShell* aPresShell, nsStyleContext* aContext);
#ifdef NOISY_FINDFRAME
static PRInt32 FFWC_totalCount=0;
@ -3379,7 +3376,6 @@ IsSpecialContent(nsIContent* aContent,
#endif
aTag == nsGkAtoms::slider ||
aTag == nsGkAtoms::scrollbar ||
aTag == nsGkAtoms::nativescrollbar ||
aTag == nsGkAtoms::scrollbarbutton ||
#ifdef MOZ_XUL
aTag == nsGkAtoms::splitter ||
@ -5869,9 +5865,6 @@ nsCSSFrameConstructor::ConstructXULFrame(nsFrameConstructorState& aState,
else if (aTag == nsGkAtoms::scrollbar) {
newFrame = NS_NewScrollbarFrame(mPresShell, aStyleContext);
}
else if (aTag == nsGkAtoms::nativescrollbar) {
newFrame = NS_NewNativeScrollbarFrame(mPresShell, aStyleContext);
}
// End of SCROLLBAR CONSTRUCTION logic
// SCROLLBUTTON CONSTRUCTION

View File

@ -94,7 +94,6 @@ CPPSRCS = \
nsScrollbarButtonFrame.cpp \
nsButtonBoxFrame.cpp \
nsSliderFrame.cpp \
nsNativeScrollbarFrame.cpp \
nsRepeatService.cpp \
nsXULTooltipListener.cpp \
$(NULL)

View File

@ -103,7 +103,6 @@ XPIDLSRCS = \
nsIBaseWindow.idl \
nsIBidiKeyboard.idl \
nsIFullScreen.idl \
nsINativeScrollbar.idl \
nsIScreen.idl \
nsIScreenManager.idl \
nsIPrintSession.idl \

View File

@ -57,10 +57,6 @@
{ 0xbd57cee8, 0x1dd1, 0x11b2, \
{0x9f, 0xe7, 0x95, 0xcf, 0x47, 0x09, 0xae, 0xa3} }
// {c2281100-3b4b-11d6-a384-f705fd0766fc}
#define NS_NATIVESCROLLBAR_CID \
{ 0xc2281100, 0x3b4b, 0x11d6, { 0xa3, 0x84, 0xf7, 0x05, 0xfd, 0x07, 0x66, 0xfc } }
/* 2d96b3df-c051-11d1-a827-0040959a28c9 */
#define NS_APPSHELL_CID \
{ 0x2d96b3df, 0xc051, 0x11d1, \