chrome: Implement GetWindowHandle() for --multi-threaded-message-loop (see issue #3294)

This commit is contained in:
Marshall Greenblatt
2022-04-19 10:45:03 -07:00
parent 2ea7459a89
commit c04895b222
7 changed files with 45 additions and 9 deletions

View File

@@ -9,6 +9,7 @@
#include "include/views/cef_view.h"
#include "include/views/cef_window.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/views/view.h"
namespace display {
@@ -123,6 +124,9 @@ gfx::NativeView GetNativeView(views::Widget* widget);
// Returns the platform window handle for |widget|. May return nullptr.
CefWindowHandle GetWindowHandle(views::Widget* widget);
// Returns the platform window handle for |window|. May return nullptr.
CefWindowHandle GetWindowHandle(gfx::NativeWindow window);
} // namespace view_util
#endif // CEF_LIBCEF_BROWSER_VIEWS_VIEW_UTIL_H_