2015-01-29 21:53:53 +01:00
|
|
|
// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights
|
|
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
|
|
// can be found in the LICENSE file.
|
|
|
|
|
2015-01-31 01:55:56 +01:00
|
|
|
#ifndef CEF_TESTS_CEFCLIENT_BROWSER_CLIENT_TYPES_H_
|
|
|
|
#define CEF_TESTS_CEFCLIENT_BROWSER_CLIENT_TYPES_H_
|
|
|
|
#pragma once
|
2015-01-29 21:53:53 +01:00
|
|
|
|
|
|
|
#include "include/cef_base.h"
|
|
|
|
|
|
|
|
#if defined(OS_LINUX)
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
|
|
|
// The Linux client uses GTK instead of the underlying platform type (X11).
|
|
|
|
#define ClientWindowHandle GtkWidget*
|
|
|
|
#else
|
|
|
|
#define ClientWindowHandle CefWindowHandle
|
|
|
|
#endif
|
|
|
|
|
2015-01-30 19:07:13 +01:00
|
|
|
#if defined(OS_MACOSX)
|
|
|
|
// Forward declaration of ObjC types used by cefclient and not provided by
|
|
|
|
// include/internal/cef_types_mac.h.
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#ifdef __OBJC__
|
|
|
|
@class NSWindow;
|
|
|
|
#else
|
|
|
|
class NSWindow;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif // defined OS_MACOSX
|
|
|
|
|
2015-01-31 01:55:56 +01:00
|
|
|
#endif // CEF_TESTS_CEFCLIENT_BROWSER_CLIENT_TYPES_H_
|