diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-07-12 14:07:37 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-07-17 10:29:26 +0000 |
commit | ec02ee4181c49b61fce1c8fb99292dbb8139cc90 (patch) | |
tree | 25cde714b2b71eb639d1cd53f5a22e9ba76e14ef /chromium/content/public/browser/render_process_host.h | |
parent | bb09965444b5bb20b096a291445170876225268d (diff) | |
download | qtwebengine-chromium-ec02ee4181c49b61fce1c8fb99292dbb8139cc90.tar.gz |
BASELINE: Update Chromium to 59.0.3071.134
Change-Id: Id02ef6fb2204c5fd21668a1c3e6911c83b17585a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/content/public/browser/render_process_host.h')
-rw-r--r-- | chromium/content/public/browser/render_process_host.h | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/chromium/content/public/browser/render_process_host.h b/chromium/content/public/browser/render_process_host.h index c7b5451d4c9..00b4c8c575d 100644 --- a/chromium/content/public/browser/render_process_host.h +++ b/chromium/content/public/browser/render_process_host.h @@ -16,6 +16,7 @@ #include "base/process/process_handle.h" #include "base/supports_user_data.h" #include "content/common/content_export.h" +#include "content/public/common/bind_interface_helpers.h" #include "ipc/ipc_channel_proxy.h" #include "ipc/ipc_sender.h" #include "media/media_features.h" @@ -32,14 +33,11 @@ namespace media { class AudioOutputController; } -namespace service_manager { -class InterfaceProvider; -} - namespace content { class BrowserContext; class BrowserMessageFilter; class RenderProcessHostObserver; +class RenderWidgetHost; class StoragePartition; struct GlobalRequestID; @@ -197,12 +195,10 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender, // Adds a message filter to the IPC channel. virtual void AddFilter(BrowserMessageFilter* filter) = 0; - // Try to shutdown the associated render process as fast as possible + // Try to shutdown the associated render process as fast as possible. virtual bool FastShutdownForPageCount(size_t count) = 0; - // TODO(ananta) - // Revisit whether the virtual functions declared from here on need to be - // part of the interface. + // Sets whether input events should be ignored for this process. virtual void SetIgnoreInputEvents(bool ignore_input_events) = 0; virtual bool IgnoreInputEvents() const = 0; @@ -215,6 +211,10 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender, virtual void AddPendingView() = 0; virtual void RemovePendingView() = 0; + // Adds and removes the widgets owned by this process. + virtual void AddWidget(RenderWidgetHost* widget) = 0; + virtual void RemoveWidget(RenderWidgetHost* widget) = 0; + // Sets a flag indicating that the process can be abnormally terminated. virtual void SetSuddenTerminationAllowed(bool allowed) = 0; // Returns true if the process can be abnormally terminated. @@ -245,6 +245,12 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender, // process. If no recording was in progress, this call will return false. virtual bool StopWebRTCEventLog() = 0; + // Enables or disables WebRTC's echo canceller AEC3. Disabled implies + // selecting the older AEC2. + // Note: This will be removed once the AEC3 is fully rolled out and the old + // AEC is deprecated. + virtual void SetEchoCanceller3(bool enable) = 0; + // When set, |callback| receives log messages regarding, for example, media // devices (webcams, mics, etc) that were initially requested in the render // process associated with this RenderProcessHost. @@ -273,10 +279,9 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender, // transferring it to a new renderer process. virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id) = 0; - // Returns the service_manager::InterfaceProvider the browser process can use - // to bind - // interfaces exposed to it from the renderer. - virtual service_manager::InterfaceProvider* GetRemoteInterfaces() = 0; + // Binds interfaces exposed to the browser process from the renderer. + virtual void BindInterface(const std::string& interface_name, + mojo::ScopedMessagePipeHandle interface_pipe) = 0; // Extracts any persistent-memory-allocator used for renderer metrics. // Ownership is passed to the caller. To support sharing of histogram data |