mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Also perform related C++ cleanup:
- Use =default instead of {} for default implementations of
  constructors/destructors.
- Replace typedef with using.
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			836 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			836 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| // 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:
 | |
|   using ParentClass = CefPanelView<views::View, CefPanelDelegate>;
 | |
| 
 | |
|   // |cef_delegate| may be nullptr.
 | |
|   explicit CefBasicPanelView(CefPanelDelegate* cef_delegate);
 | |
| 
 | |
|   CefBasicPanelView(const CefBasicPanelView&) = delete;
 | |
|   CefBasicPanelView& operator=(const CefBasicPanelView&) = delete;
 | |
| };
 | |
| 
 | |
| #endif  // CEF_LIBCEF_BROWSER_VIEWS_BASIC_PANEL_VIEW_H_
 |