1 // Copyright 2016 The Chromium Embedded Framework Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be found 3 // in the LICENSE file. 4 5 #ifndef CEF_LIBCEF_BROWSER_VIEWS_BASIC_PANEL_VIEW_H_ 6 #define CEF_LIBCEF_BROWSER_VIEWS_BASIC_PANEL_VIEW_H_ 7 #pragma once 8 9 #include "include/views/cef_panel_delegate.h" 10 11 #include "libcef/browser/views/panel_view.h" 12 13 class CefBasicPanelView : public CefPanelView<views::View, CefPanelDelegate> { 14 public: 15 using ParentClass = CefPanelView<views::View, CefPanelDelegate>; 16 17 // |cef_delegate| may be nullptr. 18 explicit CefBasicPanelView(CefPanelDelegate* cef_delegate); 19 20 CefBasicPanelView(const CefBasicPanelView&) = delete; 21 CefBasicPanelView& operator=(const CefBasicPanelView&) = delete; 22 }; 23 24 #endif // CEF_LIBCEF_BROWSER_VIEWS_BASIC_PANEL_VIEW_H_ 25