Fix 182928: Add new set as wallpaper dialog (which acts as a confirmation dialog but also one-ups IE). Tiling preview is waiting on implementation of background-size. Also forks nsWindowsHooks in preparation for fixing fx to not totally take over every file association known to man.

This commit is contained in:
blakeross%telocity.com 2004-02-15 23:51:10 +00:00
parent 4da8531232
commit 576c6dac3f
4 changed files with 36 additions and 7 deletions

View File

@ -48,4 +48,8 @@ ifdef MIGRATION_ENABLED
DIRS += migration
endif
ifeq ($(OS_ARCH),WINNT)
DIRS += winhooks
endif
include $(topsrcdir)/config/rules.mk

View File

@ -27,6 +27,7 @@ REQUIRES = \
nkcache \
txmgr \
bookmarks \
winhooks \
$(NULL)
ifdef MIGRATION_ENABLED
@ -62,6 +63,16 @@ SHARED_LIBRARY_LIBS = \
$(DIST)/lib/$(LIB_PREFIX)bookmarks_s.$(LIB_SUFFIX) \
$(NULL)
ifeq ($(OS_ARCH),WINNT)
SHARED_LIBRARY_LIBS += \
$(DIST)/lib/$(LIB_PREFIX)winhooks_s.$(LIB_SUFFIX) \
$(NULL)
LOCAL_INCLUDES += \
-I$(srcdir)/../winhooks \
$(NULL)
endif
ifdef MIGRATION_ENABLED
SHARED_LIBRARY_LIBS += $(DIST)/lib/$(LIB_PREFIX)migration_s.$(LIB_SUFFIX)
endif

View File

@ -35,11 +35,14 @@
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsIGenericFactory.h"
#include "nsBrowserCompsCID.h"
#include "nsBookmarksService.h"
#ifdef XP_WIN
#include "nsWindowsHooks.h"
#endif
#ifdef MIGRATION_ENABLED
#include "nsProfileMigrator.h"
#include "nsOperaProfileMigrator.h"
@ -57,6 +60,10 @@
/////////////////////////////////////////////////////////////////////////////
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsBookmarksService, Init)
#ifdef XP_WIN
NS_GENERIC_FACTORY_CONSTRUCTOR(nsWindowsHooks)
#endif
#ifdef MIGRATION_ENABLED
NS_GENERIC_FACTORY_CONSTRUCTOR(nsProfileMigrator)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsOperaProfileMigrator)
@ -74,19 +81,25 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsMacIEProfileMigrator)
static const nsModuleComponentInfo components[] =
{
{ "Bookmarks",
NS_BOOKMARKS_SERVICE_CID,
#ifdef XP_WIN
{ NS_IWINDOWSHOOKS_CLASSNAME,
NS_IWINDOWSHOOKS_CID,
NS_IWINDOWSHOOKS_CONTRACTID,
nsWindowsHooksConstructor },
#endif
{ "Bookmarks",
NS_BOOKMARKS_SERVICE_CID,
NS_BOOKMARKS_SERVICE_CONTRACTID,
nsBookmarksServiceConstructor },
{ "Bookmarks",
NS_BOOKMARKS_SERVICE_CID,
{ "Bookmarks",
NS_BOOKMARKS_SERVICE_CID,
NS_BOOKMARKS_DATASOURCE_CONTRACTID,
nsBookmarksServiceConstructor },
#ifdef MIGRATION_ENABLED
{ "Profile Migrator",
NS_PROFILEMIGRATOR_CID,
{ "Profile Migrator",
NS_PROFILEMIGRATOR_CID,
NS_PROFILEMIGRATOR_CONTRACTID,
nsProfileMigratorConstructor },

View File

@ -66,6 +66,7 @@ REQUIRES = \
webbrwsr \
widget \
windowwatcher \
winhooks \
xpcom \
xpconnect \
xpinstall \