[webkit-help] Webkit - SVG calls through native code
aroben at apple.com
Mon Apr 25 16:07:40 PDT 2011
On Apr 25, 2011, at 3:28 AM, Ammar Ahmad Awan wrote:
> Thank you for your reply Adam. Questions inline ...
> On Wed, Apr 20, 2011 at 11:35 PM, Adam Roben <aroben at apple.com> wrote:
>> On Apr 20, 2011, at 2:32 PM, Ammar Ahmad Awan wrote:
>>> 1. I want to make a new Win32 project and add webkit related
>>> functionality to my project. How can I do that?
>> Tools/WinLauncher and Tools/MiniBrowser/win are fairly small projects that show how to use WebKit in a Windows application.
> I have tried to use these functions to reach SVG calls. I was
> successful to do that using Tools/WinLauncher but I was not with
> MiniBrowser. I am doing a university project so I need some guidance
> regarding differences in Webkit and webkit2.
> What I understand from debugging these two mini projects, I see that
> WinLauncher is using webkit1 and MiniBrowser is using webkit2. I am
> curious why webkit2 is not calling any SVG specific classes of the
> WebCore and is still displaying an svg circle whereas WinLauncher is
> using all svg related classes from the Webcore.
I would guess that your debugger is only attached to the MiniBrowser UI process, not to the web process. The web process is where all the SVG code will run. <http://trac.webkit.org/wiki/Debugging%20With%20Visual%20Studio#DebuggingMulti-ProcessApplications> has some tips for debugging the web process.
More information about the webkit-help