web_engine_browser_interface_binders.h 928 B

123456789101112131415161718192021
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef FUCHSIA_WEB_WEBENGINE_BROWSER_WEB_ENGINE_BROWSER_INTERFACE_BINDERS_H_
  5. #define FUCHSIA_WEB_WEBENGINE_BROWSER_WEB_ENGINE_BROWSER_INTERFACE_BINDERS_H_
  6. #include "mojo/public/cpp/bindings/binder_map.h"
  7. namespace content {
  8. class RenderFrameHost;
  9. } // namespace content
  10. // PopulateFuchsiaFrameBinders() registers BrowserInterfaceBroker's
  11. // GetInterface() handler callbacks for Fuchsia-specific RenferFrame-scoped
  12. // interfaces. This mechanism will replace interface registries and binders used
  13. // for handling InterfaceProvider's GetInterface() calls (see crbug.com/718652).
  14. void PopulateFuchsiaFrameBinders(
  15. mojo::BinderMapWithContext<content::RenderFrameHost*>* map);
  16. #endif // FUCHSIA_WEB_WEBENGINE_BROWSER_WEB_ENGINE_BROWSER_INTERFACE_BINDERS_H_