Fix bug 305662: Camino regressed to non-native form controls because cocoa widget was ignored when moving nsNativeTheme to widget. r/sr=roc

This commit is contained in:
smfr%smfr.org 2005-08-23 22:06:30 +00:00
Родитель a13ee2622a
Коммит 4eed58ae3d
2 изменённых файлов: 13 добавлений и 4 удалений

Просмотреть файл

@ -86,10 +86,12 @@ MAC_LCPPSRCS = \
nsClipboard.cpp \
nsDragService.cpp \
nsDragHelperService.cpp \
nsEventQueueRegistrarService.cpp \
nsLookAndFeel.cpp \
nsMacNativeUnicodeConverter.cpp \
nsMacResources.cpp \
nsMimeMapper.cpp \
nsNativeThemeMac.cpp \
nsSound.cpp \
nsStylClipboardUtils.cpp \
nsToolkitBase.cpp \

Просмотреть файл

@ -64,8 +64,6 @@
#include "nsSound.h"
#include "nsNativeScrollbar.h"
#include "nsBidiKeyboard.h"
NS_GENERIC_FACTORY_CONSTRUCTOR(nsCocoaWindow)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsChildView)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsFilePicker)
@ -83,8 +81,13 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsClipboard)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsClipboardHelper)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsDragService)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsDragHelperService)
#include "nsBidiKeyboard.h"
NS_GENERIC_FACTORY_CONSTRUCTOR(nsBidiKeyboard)
#include "nsNativeThemeMac.h"
NS_GENERIC_FACTORY_CONSTRUCTOR(nsNativeThemeMac)
static const nsModuleComponentInfo gComponents[] =
{
{ "nsWindow",
@ -155,14 +158,18 @@ static const nsModuleComponentInfo gComponents[] =
NS_DRAGHELPERSERVICE_CID,
"@mozilla.org/widget/draghelperservice;1",
nsDragHelperServiceConstructor },
{ "Cocoa Bidi Keyboard",
{ "Cocoa Bidi Keyboard",
NS_BIDIKEYBOARD_CID,
"@mozilla.org/widget/bidikeyboard;1",
nsBidiKeyboardConstructor },
{ "Native Scrollbar",
NS_NATIVESCROLLBAR_CID,
"@mozilla.org/widget/nativescrollbar;1",
nsNativeScrollbarConstructor }
nsNativeScrollbarConstructor },
{ "Native Theme Renderer",
NS_THEMERENDERER_CID,
"@mozilla.org/chrome/chrome-native-theme;1",
nsNativeThemeMacConstructor }
};
NS_IMPL_NSGETMODULE(nsWidgetMacModule, gComponents)