1 // Copyright 2015 The Chromium Embedded Framework Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "libcef/browser/osr/browser_platform_delegate_osr_win.h" 6 7 #include <utility> 8 CefBrowserPlatformDelegateOsrWin(std::unique_ptr<CefBrowserPlatformDelegateNative> native_delegate,bool use_shared_texture,bool use_external_begin_frame)9CefBrowserPlatformDelegateOsrWin::CefBrowserPlatformDelegateOsrWin( 10 std::unique_ptr<CefBrowserPlatformDelegateNative> native_delegate, 11 bool use_shared_texture, 12 bool use_external_begin_frame) 13 : CefBrowserPlatformDelegateOsr(std::move(native_delegate), 14 use_shared_texture, 15 use_external_begin_frame) {} 16 GetHostWindowHandle() const17CefWindowHandle CefBrowserPlatformDelegateOsrWin::GetHostWindowHandle() const { 18 return native_delegate_->window_info().parent_window; 19 } 20