mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
chrome: Implement GetWindowHandle() for --multi-threaded-message-loop (see issue #3294)
This commit is contained in:
@@ -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_
|
||||
|
Reference in New Issue
Block a user