diff options
author | Cary Clark <> | 2009-04-08 08:09:33 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-04-08 08:09:33 -0700 |
commit | 05f9657eb2c4baad54f87aa1f9dd9b51c5a6d149 (patch) | |
tree | 5b580d83cf57d319175f065e93316ccbdfeaac11 /WebCore/loader/EmptyClients.h | |
parent | c398112a54344846e338f2722709d9c00af10263 (diff) | |
download | external_webkit-05f9657eb2c4baad54f87aa1f9dd9b51c5a6d149.zip external_webkit-05f9657eb2c4baad54f87aa1f9dd9b51c5a6d149.tar.gz external_webkit-05f9657eb2c4baad54f87aa1f9dd9b51c5a6d149.tar.bz2 |
AI 145053: add SVG to the browser [disabled by default]
To enable SVG, edit your buildspec.mk to
ENABLE_SVG:=true
then
make clean-libwebcore && make
Some SVG functionality has been stubbed out in this checkin.
//branches/master/android/build/buildspec.mk.default # edit
- add ENABLE_SVG, commented out by default
- fix up WEBCORE_INSTRUMENTATION define while I was in there
//branches/master/android/external/webkit/Android.mk # edit
- add ENABLE_SVG C define
- add svg paths to C includes
//branches/master/android/external/webkit/WebCore/Android.derived.mk # edit
- update merge tool rules
- add svg to css property names, keywords, generated bindings
- add svg names, element factory, wrappers
- remove obsolete ksvgcssproperties.h
- add XLinkNames, required by SVG
//branches/master/android/external/webkit/WebCore/Android.mk # edit
- update merge tool rules
- add svg bindings, css svg parsing, svg rendering, svg engine
//branches/master/android/external/webkit/WebCore/config.h # edit
- leave ENABLE_SVG alone if it is already defined
//branches/master/android/external/webkit/WebCore/loader/EmptyClients.h # edit
- add some Android extensions as empty virtuals (EmptyClients is only used by SVG)
//branches/master/android/external/webkit/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp # edit
//branches/master/android/external/webkit/WebCore/platform/graphics/android/PathAndroid.cpp # edit
- add SVG graphics porting functions. Note the FIXMEs -- some are unimplemented.
BUG=1474412
Automated import of CL 145053
Diffstat (limited to 'WebCore/loader/EmptyClients.h')
-rw-r--r-- | WebCore/loader/EmptyClients.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/loader/EmptyClients.h b/WebCore/loader/EmptyClients.h index 1a412f7..5871f9f 100644 --- a/WebCore/loader/EmptyClients.h +++ b/WebCore/loader/EmptyClients.h @@ -246,6 +246,11 @@ public: virtual void updateGlobalHistory() { } virtual void updateGlobalHistoryForRedirectWithoutHistoryItem() { } virtual bool shouldGoToHistoryItem(HistoryItem*) const { return false; } +#ifdef ANDROID_HISTORY_CLIENT + virtual void dispatchDidAddHistoryItem(HistoryItem*) const {} + virtual void dispatchDidRemoveHistoryItem(HistoryItem*, int) const {} + virtual void dispatchDidChangeHistoryIndex(BackForwardList*) const {} +#endif virtual void saveViewStateToItem(HistoryItem*) { } virtual bool canCachePage() const { return false; } |