mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Add "cef/" prefix for CEF #includes in libcef/ directory. Sort #includes by following https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes
		
			
				
	
	
		
			34 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			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_FILL_LAYOUT_IMPL_H_
 | |
| #define CEF_LIBCEF_BROWSER_VIEWS_FILL_LAYOUT_IMPL_H_
 | |
| #pragma once
 | |
| 
 | |
| #include "cef/include/views/cef_fill_layout.h"
 | |
| #include "cef/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;
 | |
| 
 | |
|   // Create a new CefFillLayout insance. |owner_view| must be non-nullptr.
 | |
|   static CefRefPtr<CefFillLayout> Create(views::View* owner_view);
 | |
| 
 | |
|   // CefLayout methods:
 | |
|   CefRefPtr<CefFillLayout> AsFillLayout() override { return this; }
 | |
| 
 | |
|  private:
 | |
|   CefFillLayoutImpl();
 | |
| 
 | |
|   views::FillLayout* CreateLayout() override;
 | |
| 
 | |
|   IMPLEMENT_REFCOUNTING_DELETE_ON_UIT(CefFillLayoutImpl);
 | |
| };
 | |
| 
 | |
| #endif  // CEF_LIBCEF_BROWSER_VIEWS_FILL_LAYOUT_IMPL_H_
 |