diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-03-21 15:10:18 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-03-27 09:13:11 +0000 |
commit | d0a34e679e094759ee6d61b6da711cb2b2ed5294 (patch) | |
tree | e9d771f37c4687c1bef39d9146367d84dfb5fb57 /src/core/content_browser_client_qt.h | |
parent | bce063054682e590e9fa8aa9d2ec19ca26ea3d49 (diff) |
Register a Mojo SensitiveInputVisibilityService
We don't use or need the service, but Mojo doesn't like when it doesn't
get to do pointless things.
Change-Id: I1be66d1679bf688aa0139e84822de32a28ba3132
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/core/content_browser_client_qt.h')
-rw-r--r-- | src/core/content_browser_client_qt.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/content_browser_client_qt.h b/src/core/content_browser_client_qt.h index b20175439..80ae6057e 100644 --- a/src/core/content_browser_client_qt.h +++ b/src/core/content_browser_client_qt.h @@ -58,6 +58,7 @@ class BrowserPpapiHost; #endif class DevToolsManagerDelegate; +class RenderFrameHost; class RenderProcessHost; class RenderViewHostDelegateView; class ResourceContext; @@ -70,6 +71,10 @@ namespace gl { class GLShareGroup; } +namespace service_manager { +class InterfaceRegistry; +} + namespace QtWebEngineCore { class BrowserContextQt; class BrowserMainPartsQt; @@ -108,6 +113,8 @@ public: virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, int child_process_id) Q_DECL_OVERRIDE; virtual void GetAdditionalWebUISchemes(std::vector<std::string>* additional_schemes) Q_DECL_OVERRIDE; + void RegisterRenderFrameMojoInterfaces(service_manager::InterfaceRegistry* registry, content::RenderFrameHost* render_frame_host) override; + #if defined(Q_OS_LINUX) virtual void GetAdditionalMappedFilesForChildProcess(const base::CommandLine& command_line, int child_process_id, content::FileDescriptorInfo* mappings) Q_DECL_OVERRIDE; #endif |