mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	- Improve ordering of CefLoadHandler callbacks. OnLoadingStateChange will be called before and after all calls to OnLoadStart and OnLoadEnd. OnLoadStart/OnLoadEnd calls will occur as matching pairs (see http://crbug.com/539952#c2). - Remove the |requesting_url| argument to CefGeolocationHandler:: OnCancelGeolocationPermission. Clients can use the |request_id| argument to track this information themselves. - Fix a crash when loading the PDF extension in multiple browsers with a custom CefRequestContext (issue #1757).
		
			
				
	
	
		
			20 lines
		
	
	
		
			694 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			694 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| // Copyright 2015 The Chromium 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_PERMISSIONS_PERMISSION_UTIL_H_
 | |
| #define CEF_LIBCEF_BROWSER_PERMISSIONS_PERMISSION_UTIL_H_
 | |
| 
 | |
| #include "components/content_settings/core/common/content_settings_types.h"
 | |
| #include "content/public/browser/permission_type.h"
 | |
| 
 | |
| namespace permission_util {
 | |
| 
 | |
| // Helper method to convert PermissionType to ContentSettingType.
 | |
| ContentSettingsType PermissionTypeToContentSetting(
 | |
|     content::PermissionType permission);
 | |
| 
 | |
| }  // namespace permission_util
 | |
| 
 | |
| #endif // CEF_LIBCEF_BROWSER_PERMISSIONS_PERMISSION_UTIL_H_
 |