Bug 695287 - Move Navigator declaration and definition outside of nsGlobalWindow.{h,cpp}. r=Ms2ger

This patch is creating Navigator.h and Navigator.cpp and makes Navigator part
of the mozilla::dom namespace.
This commit is contained in:
Mounir Lamouri
2011-11-02 14:44:16 +01:00
parent ae019e8c56
commit aece4e1a7e
10 changed files with 1004 additions and 837 deletions

View File

@@ -38,7 +38,7 @@
#include "nsPluginArray.h"
#include "nsMimeTypeArray.h"
#include "nsGlobalWindow.h"
#include "Navigator.h"
#include "nsIScriptGlobalObject.h"
#include "nsIDOMNavigator.h"
#include "nsIDOMMimeType.h"
@@ -50,7 +50,10 @@
#include "nsContentUtils.h"
#include "nsPluginHost.h"
nsPluginArray::nsPluginArray(nsNavigator* navigator,
using namespace mozilla;
using namespace mozilla::dom;
nsPluginArray::nsPluginArray(Navigator* navigator,
nsIDocShell *aDocShell)
{
nsresult rv;