Bug 904536 - Remove nsNativeWidget.h. r=roc

This commit is contained in:
Markus Stange 2013-08-14 13:19:08 +02:00
parent ec9df7871c
commit 8f2c4e9f83
3 changed files with 5 additions and 16 deletions

View File

@ -107,7 +107,6 @@ EXPORTS += [
'nsIRollupListener.h',
'nsIWidget.h',
'nsIWidgetListener.h',
'nsNativeWidget.h',
'nsWidgetInitData.h',
'nsWidgetsCID.h',
]

View File

@ -14,7 +14,6 @@
#include "nsEvent.h"
#include "nsCOMPtr.h"
#include "nsITheme.h"
#include "nsNativeWidget.h"
#include "nsWidgetInitData.h"
#include "nsTArray.h"
#include "nsXULAppAPI.h"
@ -62,6 +61,11 @@ class DrawTarget;
*/
typedef nsEventStatus (* EVENT_CALLBACK)(nsGUIEvent *event);
// Hide the native window system's real window type so as to avoid
// including native window system types and APIs. This is necessary
// to ensure cross-platform code.
typedef void* nsNativeWidget;
/**
* Flags for the getNativeData function.
* See getNativeData()

View File

@ -1,14 +0,0 @@
/* -*- Mode: C++; tab-width: 40; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef nsNativeWidget_h__
#define nsNativeWidget_h__
// Hide the native window systems real window type so as to avoid
// including native window system types and APIs. This is necessary
// to ensure cross-platform code.
typedef void* nsNativeWidget;
#endif // nsNativeWidget_h__