mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Move Alloy-specific logic to CefBrowserPlatformDelegateAlloy (see issue #2969)
Also remove OSR-related methods where the attributes can instead be passed to the OSR platform delegate constructor directly.
This commit is contained in:
@@ -9,8 +9,12 @@
|
||||
#include "libcef/browser/browser_host_impl.h"
|
||||
|
||||
CefBrowserPlatformDelegateOsrWin::CefBrowserPlatformDelegateOsrWin(
|
||||
std::unique_ptr<CefBrowserPlatformDelegateNative> native_delegate)
|
||||
: CefBrowserPlatformDelegateOsr(std::move(native_delegate)) {}
|
||||
std::unique_ptr<CefBrowserPlatformDelegateNative> native_delegate,
|
||||
bool use_shared_texture,
|
||||
bool use_external_begin_frame)
|
||||
: CefBrowserPlatformDelegateOsr(std::move(native_delegate),
|
||||
use_shared_texture,
|
||||
use_external_begin_frame) {}
|
||||
|
||||
CefWindowHandle CefBrowserPlatformDelegateOsrWin::GetHostWindowHandle() const {
|
||||
return native_delegate_->window_info().parent_window;
|
||||
|
Reference in New Issue
Block a user