fix: bind spellchecker receivers correctly in the renderer (#21997)

This commit is contained in:
Samuel Attard 2020-02-03 09:49:37 -08:00 committed by GitHub
parent 6f32214655
commit 1fb2b8e00e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 76 additions and 12 deletions

View file

@ -0,0 +1,22 @@
// Copyright (c) 2020 Slack Technologies, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef SHELL_RENDERER_BROWSER_EXPOSED_RENDERER_INTERFACES_H_
#define SHELL_RENDERER_BROWSER_EXPOSED_RENDERER_INTERFACES_H_
namespace mojo {
class BinderMap;
} // namespace mojo
namespace electron {
class RendererClientBase;
} // namespace electron
class ChromeContentRendererClient;
void ExposeElectronRendererInterfacesToBrowser(
electron::RendererClientBase* client,
mojo::BinderMap* binders);
#endif // SHELL_RENDERER_BROWSER_EXPOSED_RENDERER_INTERFACES_H_