2015-01-30 20:08: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_TEMP_WINDOW_H_
|
|
|
|
#define CEF_TESTS_CEFCLIENT_BROWSER_TEMP_WINDOW_H_
|
|
|
|
#pragma once
|
2015-01-30 20:08:53 +01:00
|
|
|
|
2016-11-18 00:52:42 +01:00
|
|
|
#include "tests/cefclient/browser/client_types.h"
|
2015-01-30 20:08:53 +01:00
|
|
|
|
|
|
|
#if defined(OS_WIN)
|
2016-11-18 00:52:42 +01:00
|
|
|
#include "tests/cefclient/browser/temp_window_win.h"
|
2015-01-30 20:08:53 +01:00
|
|
|
#elif defined(OS_LINUX)
|
2016-11-18 00:52:42 +01:00
|
|
|
#include "tests/cefclient/browser/temp_window_x11.h"
|
2015-01-30 20:08:53 +01:00
|
|
|
#elif defined(OS_MACOSX)
|
2016-11-18 00:52:42 +01:00
|
|
|
#include "tests/cefclient/browser/temp_window_mac.h"
|
2015-01-30 20:08:53 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
namespace client {
|
|
|
|
|
|
|
|
#if defined(OS_WIN)
|
|
|
|
typedef TempWindowWin TempWindow;
|
|
|
|
#elif defined(OS_LINUX)
|
|
|
|
typedef TempWindowX11 TempWindow;
|
|
|
|
#elif defined(OS_MACOSX)
|
|
|
|
typedef TempWindowMac TempWindow;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
} // namespace client
|
|
|
|
|
2015-01-31 01:55:56 +01:00
|
|
|
#endif // CEF_TESTS_CEFCLIENT_BROWSER_TEMP_WINDOW_H_
|