@Override
  @NotNull
  public CefRenderHandler createCefRenderHandler(@NotNull JComponent component) {
    assert component instanceof JBCefOsrComponent;
    JBCefOsrComponent osrComponent = (JBCefOsrComponent)component;
    JBCefOsrHandler handler = JBCefApp.isRemoteEnabled() ? new JBCefNativeOsrHandler() : new JBCefOsrHandler();
    osrComponent.setRenderHandler(handler);

    return handler;
  }
@Override
  @NotNull
  public CefRenderHandler createCefRenderHandler(@NotNull JComponent component)