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_mac.h" 6 7#include <utility> 8 9CefBrowserPlatformDelegateOsrMac::CefBrowserPlatformDelegateOsrMac( 10 std::unique_ptr<CefBrowserPlatformDelegateNative> native_delegate) 11 : CefBrowserPlatformDelegateOsr(std::move(native_delegate), 12 /*use_shared_texture=*/false, 13 /*use_external_begin_frame=*/false) {} 14 15CefWindowHandle CefBrowserPlatformDelegateOsrMac::GetHostWindowHandle() const { 16 return native_delegate_->window_info().parent_view; 17} 18