2016-01-19 21:09:01 +01:00
|
|
|
// Copyright 2016 The Chromium Embedded Framework Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be found
|
|
|
|
// in the LICENSE file.
|
|
|
|
|
2024-04-30 17:45:07 +02:00
|
|
|
#include "cef/libcef/browser/views/fill_layout_impl.h"
|
2016-01-19 21:09:01 +01:00
|
|
|
|
2024-04-30 17:45:07 +02:00
|
|
|
#include "cef/libcef/browser/thread_util.h"
|
2016-01-19 21:09:01 +01:00
|
|
|
|
|
|
|
// static
|
|
|
|
CefRefPtr<CefFillLayout> CefFillLayoutImpl::Create(views::View* owner_view) {
|
|
|
|
CEF_REQUIRE_UIT_RETURN(nullptr);
|
|
|
|
CefRefPtr<CefFillLayoutImpl> impl = new CefFillLayoutImpl();
|
|
|
|
impl->Initialize(owner_view);
|
|
|
|
return impl;
|
|
|
|
}
|
|
|
|
|
2024-01-20 23:48:57 +01:00
|
|
|
CefFillLayoutImpl::CefFillLayoutImpl() = default;
|
2016-01-19 21:09:01 +01:00
|
|
|
|
|
|
|
views::FillLayout* CefFillLayoutImpl::CreateLayout() {
|
|
|
|
return new views::FillLayout();
|
|
|
|
}
|