mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	- Implement CefRequestHandler::OnBeforeBrowse using NavigationThrottle instead of ResourceThrottle (see http://crbug.com/537634). The CefRequest object passed to OnBeforeBrowse will no longer have an associated request identifier. - Mac: Remove additional helper apps which are no longer required (see http://crbug.com/520680) - Remove the UR_FLAG_REPORT_RAW_HEADERS flag which is no longer supported (see http://crbug.com/517114) - Remove the CefBrowserSettings.java parameter. Java is an NPAPI plugin and NPAPI plugins are no longer supported (see http://crbug.com/470301#c11) - Add CefFormatUrlForSecurityDisplay function in cef_parser.h - Fix crash when passing `--disable-extensions` command-line flag (issue #1721) - Linux: Fix NSS handler loading (issue #1727)
		
			
				
	
	
		
			33 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| // Copyright 2014 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_EXTENSIONS_EXTENSION_WEB_CONTENTS_OBSERVER_H_
 | |
| #define CEF_LIBCEF_BROWSER_EXTENSIONS_EXTENSION_WEB_CONTENTS_OBSERVER_H_
 | |
| 
 | |
| #include "content/public/browser/web_contents_user_data.h"
 | |
| #include "extensions/browser/extension_web_contents_observer.h"
 | |
| 
 | |
| namespace extensions {
 | |
| 
 | |
| // The CEF version of ExtensionWebContentsObserver.
 | |
| class CefExtensionWebContentsObserver
 | |
|     : public ExtensionWebContentsObserver,
 | |
|       public content::WebContentsUserData<CefExtensionWebContentsObserver> {
 | |
|  private:
 | |
|   friend class content::WebContentsUserData<CefExtensionWebContentsObserver>;
 | |
| 
 | |
|   explicit CefExtensionWebContentsObserver(
 | |
|       content::WebContents* web_contents);
 | |
|   ~CefExtensionWebContentsObserver() override;
 | |
| 
 | |
|   // content::WebContentsObserver overrides.
 | |
|   void RenderViewCreated(content::RenderViewHost* render_view_host) override;
 | |
| 
 | |
|   DISALLOW_COPY_AND_ASSIGN(CefExtensionWebContentsObserver);
 | |
| };
 | |
| 
 | |
| }  // namespace extensions
 | |
| 
 | |
| #endif  // CEF_LIBCEF_BROWSER_EXTENSIONS_EXTENSION_WEB_CONTENTS_OBSERVER_H_
 |