2022-04-08 22:48:56 +02:00
|
|
|
// Copyright 2022 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.
|
|
|
|
|
|
|
|
#ifndef CEF_LIBCEF_BROWSER_CHROME_VIEWS_CHROME_CHILD_WINDOW_H_
|
|
|
|
#define CEF_LIBCEF_BROWSER_CHROME_VIEWS_CHROME_CHILD_WINDOW_H_
|
|
|
|
#pragma once
|
|
|
|
|
2024-04-30 17:45:07 +02:00
|
|
|
#include "cef/include/views/cef_browser_view_delegate.h"
|
|
|
|
#include "cef/libcef/browser/browser_host_base.h"
|
2022-04-08 22:48:56 +02:00
|
|
|
|
|
|
|
namespace chrome_child_window {
|
|
|
|
|
|
|
|
bool HasParentHandle(const CefWindowInfo& window_info);
|
|
|
|
|
|
|
|
// Called from CefBrowserHostBase::Create.
|
|
|
|
CefRefPtr<CefBrowserHostBase> MaybeCreateChildBrowser(
|
|
|
|
const CefBrowserCreateParams& create_params);
|
|
|
|
|
2024-04-17 18:01:26 +02:00
|
|
|
CefRefPtr<CefBrowserViewDelegate> GetDefaultBrowserViewDelegateForPopupOpener();
|
|
|
|
|
2022-04-08 22:48:56 +02:00
|
|
|
} // namespace chrome_child_window
|
|
|
|
|
|
|
|
#endif // CEF_LIBCEF_BROWSER_CHROME_VIEWS_CHROME_CHILD_WINDOW_H_
|