Hi Joone,

Thank you for helping.
Once it’s landed, I can help to verify on the target platform ASAP, since we 
really need it before the end of March.
Any problem or block please let me know also.
Thank you very much for your time.

Regards,
Peter Wang

_____________________________________________
From: Hur, Joone
Sent: Tuesday, March 17, 2015 1:18 AM
To: Wang, Peter H; [email protected]
Cc: You, Yongkang; Christiansen, Kenneth R; Balestrieri, Francesco; Pozdnyakov, 
Mikhail; Huo, Halton
Subject: RE: Intent to Implement: 'File Picker' of Crosswalk for Linux


Hi Peter,

I have worked on the file-picker support.
https://github.com/crosswalk-project/chromium-crosswalk/pull/218
https://github.com/crosswalk-project/crosswalk/pull/2707

It worked on ozone-wayland, but the patches for Crosswalk doesn’t land because 
there was a crash problem with the shared-process-mode before.

I will test file-picker patches on the dual-process-mode and then land them 
soon.

Thanks,
Joone
_____________________________________________
From: Wang, Peter H
Sent: Sunday, March 15, 2015 11:56 PM
To: 
[email protected]<mailto:[email protected]>
Cc: You, Yongkang; Christiansen, Kenneth R; Balestrieri, Francesco; Hur, Joone; 
Pozdnyakov, Mikhail; Huo, Halton
Subject: Intent to Implement: 'File Picker' of Crosswalk for Linux


Description:
Crosswalk for Linux still doesn’t support ‘File Picker’ now.
Since it’s a widely supported feature - especially for desktop - we’re planning 
to implement it.

Affected component:
Crosswalk on Linux

Related feature:
XWALK-950<https://crosswalk-project.org/jira/browse/XWALK-950>

Target release:
Crosswalk 14

Implementation details:
1.Inherit ‘ui::LinuxShellDialog’ to implement the factory class of ‘File 
Picker’ dialog.
   Only ‘ui::LinuxShellDialog::CreateSelectFileDialog’ needs to be overridden.
2. In ‘XWalkBrowserMainParts::PreEarlyInitialization’, feed the instance of the 
factory class to Content.
3. Implement a common child class of ‘ui::SelectFileDialog’ and 
‘aura::WindowObserver’.
  Mostly, it’s referring to the code of ‘select_file_dialog_impl_gtk2.cc’ of 
Chrome.

Misc.:
Actually, we’ve already written a draft patch to test our design.
It only brings two new ‘.cc’ files and has loose couple with ‘Cromium::ui’ - 
only need to implement some interfaces of base class.
And it’s a pretty independent module, can changed to another type of UI (e.g. 
web UI) easily.

Regards,
Peter Wang

_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to