Hi, Thiago, I studied the code of ApplicationRuntimeExtension. The id of RenderView is what I need. But, in ApplicationRuntimeExtension, It can get RenderViewHost only, not the id of RenderView.
Then, I searched " render_view_id " among xwalk code. Please point out if I am wrong. Seems all "render_view_id" is passed from render process. Should I pass the id of RenderView from render process? Thanks, Shawn -----Original Message----- From: Santos, Thiago Sent: Thursday, April 3, 2014 11:42 PM To: Gao, Shawn; [email protected] Cc: Huo, Halton Subject: Re: How to get the id of RenderView in the xwalk extension? On 03-04-2014 13:36, Gao, Shawn wrote: > Hi, All, > I am developing the native file system API. Chromium requires each > file operation should be granted by security policy module. > To grant the permissions, the id of RenderView should be provided to > identify files in different RenderView. Unfortunately, the xwalk > extension doesn't keep this info. > Could anybody give me advice about how to get the id of RenderView in > the xwalk extension? The ApplicationRuntimeExtension is already doing something similar. It is getting the RenderViewHost RoutingID. They should be the same, no? Do you have a work in progress that I could have a look? [1] application/extension/application_runtime_extension.cc _______________________________________________ Crosswalk-dev mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
