* chore: bump chromium in DEPS to 133.0.6836.0 * chore: bump chromium in DEPS to 133.0.6838.0 * chore: update patches * 6006096: [Sync ESB] Integrate Chrome Toast UI https://chromium-review.googlesource.com/c/chromium/src/+/6006096 * Confine enable_device_bound_sessions buildflag to //net https://chromium-review.googlesource.com/c/chromium/src/+/6014679 * revert [api] Delete deprecated struct FastApiTypedArray https://chromium-review.googlesource.com/c/v8/v8/+/5982984 Also https://chromium-review.googlesource.com/c/v8/v8/+/5979766/1 * fixup revert [api] Delete deprecated struct FastApiTypedArray * Migrate remaining NOTREACHED()s in chrome/ https://chromium-review.googlesource.com/c/chromium/src/+/5998172 * [Reland][Extensions] Remove ExtensionHostDelegate::GetJavaScriptDialogManager() https://chromium-review.googlesource.com/c/chromium/src/+/6020106 * Remove NOTREACHED_IN_MIGRATION() https://chromium-review.googlesource.com/c/chromium/src/+/6021996 * Remove Lock screen apps [#8] : remove lock screen extension https://chromium-review.googlesource.com/c/chromium/src/+/6005846 * Reland "Add CrashReporterClient::GetProductInfo(ProductInfo*)" https://chromium-review.googlesource.com/c/chromium/src/+/6012631 * Ozone/Wayland: remove lacros specific window states https://chromium-review.googlesource.com/c/chromium/src/+/6011215 * chore: bump chromium in DEPS to 133.0.6840.0 * chore: bump chromium in DEPS to 133.0.6841.0 * chore: bump chromium in DEPS to 133.0.6844.0 * implement virtual WebContents::CanUserEnterFullscreen * OnSearchifyStateChange -> OnSearchifyStarted * regen libc++ filenames * chore: bump chromium in DEPS to 133.0.6846.0 * chore: update patches --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
		
			
				
	
	
		
			49 lines
		
	
	
	
		
			2.1 KiB
			
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
	
		
			2.1 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 ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_HOST_DELEGATE_H_
 | 
						|
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_HOST_DELEGATE_H_
 | 
						|
 | 
						|
#include <memory>
 | 
						|
#include <string>
 | 
						|
 | 
						|
#include "extensions/browser/extension_host_delegate.h"
 | 
						|
 | 
						|
namespace extensions {
 | 
						|
 | 
						|
// A minimal ExtensionHostDelegate.
 | 
						|
class ElectronExtensionHostDelegate : public ExtensionHostDelegate {
 | 
						|
 public:
 | 
						|
  ElectronExtensionHostDelegate();
 | 
						|
  ~ElectronExtensionHostDelegate() override;
 | 
						|
 | 
						|
  // disable copy
 | 
						|
  ElectronExtensionHostDelegate(const ElectronExtensionHostDelegate&) = delete;
 | 
						|
  ElectronExtensionHostDelegate& operator=(
 | 
						|
      const ElectronExtensionHostDelegate&) = delete;
 | 
						|
 | 
						|
  // ExtensionHostDelegate implementation.
 | 
						|
  void OnExtensionHostCreated(content::WebContents* web_contents) override;
 | 
						|
  void OnMainFrameCreatedForBackgroundPage(ExtensionHost* host) override {}
 | 
						|
  void CreateTab(std::unique_ptr<content::WebContents> web_contents,
 | 
						|
                 const std::string& extension_id,
 | 
						|
                 WindowOpenDisposition disposition,
 | 
						|
                 const blink::mojom::WindowFeatures& window_features,
 | 
						|
                 bool user_gesture) override;
 | 
						|
  void ProcessMediaAccessRequest(content::WebContents* web_contents,
 | 
						|
                                 const content::MediaStreamRequest& request,
 | 
						|
                                 content::MediaResponseCallback callback,
 | 
						|
                                 const Extension* extension) override;
 | 
						|
  bool CheckMediaAccessPermission(content::RenderFrameHost* render_frame_host,
 | 
						|
                                  const url::Origin& security_origin,
 | 
						|
                                  blink::mojom::MediaStreamType type,
 | 
						|
                                  const Extension* extension) override;
 | 
						|
  content::PictureInPictureResult EnterPictureInPicture(
 | 
						|
      content::WebContents* web_contents) override;
 | 
						|
  void ExitPictureInPicture() override;
 | 
						|
};
 | 
						|
 | 
						|
}  // namespace extensions
 | 
						|
 | 
						|
#endif  // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_HOST_DELEGATE_H_
 |