we'll consider to refine it in next PR. you can see XWalkUIClient.
lots of tasks are done based on XWalkView.