In the third_party directory, it has a class WebPageSerializer
third_party/WebKit/WebKit/chromium/public/WebPageSerializer.h
I think it can serialize a DOM to a file. Can you please tell me if I
can use it in Webkit project?
Or that API is specified for chromium's Webkit?
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
I mean if i am using gtk port of webkit (I get the source form
www.webkit.org instead or www.chromium.org), Can I use the
WebPageSerializer (which is under chromium/public)?
And the serialize() method takes a WebFrame* frame, I think that is a
chromium specified class, not a Webkit class. So how can I get a
pointer to WebFrame if I am using Webkit?
I was able to compile it using './autogen.sh --enable-debug && make'.
And I have followed your advice. I did
$ make clean
$ make distclean
But I get this error:
$ ./WebKitTools/Scripts/update-webkit --chromium
Updating OpenSource
git: 'svn' is not a git-command. See 'git --help'.
Did you mean one of these?
fsck
show
Died at ./WebKitTools/Scripts/update-webkit line 119.
And when I just try to compile it, I get
$ ./WebKitTools/Scripts/build-webkit --chromium
make -j4 BUILDTYPE=Release all
make: *** No rule to make target `all'. Stop.
(resend from the correct address):
That's an easy one at least: you need to install git-svn.
AGL