#ifndef CEF_LIBCEF_BROWSER_VIEWS_FILL_LAYOUT_IMPL_H_
#define CEF_LIBCEF_BROWSER_VIEWS_FILL_LAYOUT_IMPL_H_
#pragma once
#include "include/views/cef_fill_layout.h"
#include "libcef/browser/views/layout_impl.h"
#include "ui/views/layout/fill_layout.h"
class CefFillLayoutImpl
: public CefLayoutImpl<views::FillLayout, CefFillLayout> {
public:
CefFillLayoutImpl(const CefFillLayoutImpl&) = delete;
CefFillLayoutImpl& operator=(const CefFillLayoutImpl&) = delete;
static CefRefPtr<CefFillLayout> Create(views::View* owner_view);
CefRefPtr<CefFillLayout> AsFillLayout() override { return this; }
private:
CefFillLayoutImpl();
views::FillLayout* CreateLayout() override;
IMPLEMENT_REFCOUNTING_DELETE_ON_UIT(CefFillLayoutImpl);
};
#endif