• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_linux.h"
6 
7 #include <utility>
8 
CefBrowserPlatformDelegateOsrLinux(std::unique_ptr<CefBrowserPlatformDelegateNative> native_delegate,bool use_external_begin_frame)9 CefBrowserPlatformDelegateOsrLinux::CefBrowserPlatformDelegateOsrLinux(
10     std::unique_ptr<CefBrowserPlatformDelegateNative> native_delegate,
11     bool use_external_begin_frame)
12     : CefBrowserPlatformDelegateOsr(std::move(native_delegate),
13                                     /*use_shared_texture=*/false,
14                                     use_external_begin_frame) {}
15 
GetHostWindowHandle() const16 CefWindowHandle CefBrowserPlatformDelegateOsrLinux::GetHostWindowHandle()
17     const {
18   return native_delegate_->window_info().parent_window;
19 }
20