mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 904536 - Remove nsNativeWidget.h. r=roc
This commit is contained in:
parent
ec9df7871c
commit
8f2c4e9f83
@ -107,7 +107,6 @@ EXPORTS += [
|
||||
'nsIRollupListener.h',
|
||||
'nsIWidget.h',
|
||||
'nsIWidgetListener.h',
|
||||
'nsNativeWidget.h',
|
||||
'nsWidgetInitData.h',
|
||||
'nsWidgetsCID.h',
|
||||
]
|
||||
|
@ -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()
|
||||
|
@ -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__
|
Loading…
Reference in New Issue
Block a user