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.
|
|
|
|
|
|
|
|
#ifndef CEF_LIBCEF_BROWSER_VIEWS_BASIC_PANEL_VIEW_H_
|
|
|
|
#define CEF_LIBCEF_BROWSER_VIEWS_BASIC_PANEL_VIEW_H_
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "include/views/cef_panel_delegate.h"
|
|
|
|
|
|
|
|
#include "libcef/browser/views/panel_view.h"
|
|
|
|
|
|
|
|
class CefBasicPanelView : public CefPanelView<views::View, CefPanelDelegate> {
|
|
|
|
public:
|
2021-12-06 21:40:25 +01:00
|
|
|
using ParentClass = CefPanelView<views::View, CefPanelDelegate>;
|
2016-01-19 21:09:01 +01:00
|
|
|
|
|
|
|
// |cef_delegate| may be nullptr.
|
|
|
|
explicit CefBasicPanelView(CefPanelDelegate* cef_delegate);
|
|
|
|
|
2021-12-06 21:40:25 +01:00
|
|
|
CefBasicPanelView(const CefBasicPanelView&) = delete;
|
|
|
|
CefBasicPanelView& operator=(const CefBasicPanelView&) = delete;
|
2016-01-19 21:09:01 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CEF_LIBCEF_BROWSER_VIEWS_BASIC_PANEL_VIEW_H_
|