dom/ipc/TabTypes.h
author Kyle Huey <me@kylehuey.com>
Thu, 29 Jul 2010 20:17:12 -0700
changeset 48393 1ac135c8a4847ea3739228efdf0f430932dbf7cb
parent 46923 8e4ceb3b4da549b8c404d2fbae12e89ab6bdd041
permissions -rw-r--r--
Back out Bug 513008 to fix orange.

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* vim: set sw=4 ts=8 et tw=80 : */

#ifndef mozilla_tabs_TabTypes_h
#define mozilla_tabs_TabTypes_h

#include "base/basictypes.h"

#ifdef XP_WIN
#include <windows.h>

typedef HWND MagicWindowHandle;
#elif defined(MOZ_WIDGET_GTK2)
#include <X11/X.h>

typedef XID MagicWindowHandle;

#elif defined(MOZ_WIDGET_QT)

typedef unsigned long MagicWindowHandle;

#elif defined(XP_MACOSX)
#  warning This is a placeholder
typedef long MagicWindowHandle;

#elif defined(ANDROID)
/* we don't really use this */
typedef unsigned long MagicWindowHandle;

#else
#error Not implemented, stooge
#endif

#endif