diff options
author | Leon Clarke <leonclarke@google.com> | 2009-09-24 15:32:59 +0100 |
---|---|---|
committer | Leon Clarke <leonclarke@google.com> | 2009-09-24 17:46:03 +0100 |
commit | 7e7a0fd96b7d18fa3562af3b2bb4c7516fe9babe (patch) | |
tree | cffd23a4de921fc0b80aea310a2689febacfada3 /WebKit/android/WebCoreSupport | |
parent | 28e09963cd0ab02a20ddd0b687e55f97921445cc (diff) | |
download | external_webkit-7e7a0fd96b7d18fa3562af3b2bb4c7516fe9babe.zip external_webkit-7e7a0fd96b7d18fa3562af3b2bb4c7516fe9babe.tar.gz external_webkit-7e7a0fd96b7d18fa3562af3b2bb4c7516fe9babe.tar.bz2 |
Colorizing clicked-on links
Following review comments
Following review comments
Diffstat (limited to 'WebKit/android/WebCoreSupport')
-rw-r--r-- | WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp | 8 | ||||
-rw-r--r-- | WebKit/android/WebCoreSupport/ChromeClientAndroid.h | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp b/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp index 93869c3..6f8b7fe 100644 --- a/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp +++ b/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp @@ -333,6 +333,14 @@ void ChromeClientAndroid::reachedMaxAppCacheSize(int64_t spaceNeeded) } #endif +void ChromeClientAndroid::populateVisitedLinks() +{ + Page* page = m_webFrame->page(); + Frame* mainFrame = page->mainFrame(); + FrameView* view = mainFrame->view(); + android::WebViewCore::getWebViewCore(view)->populateVisitedLinks(&page->group()); +} + void ChromeClientAndroid::requestGeolocationPermissionForFrame(Frame* frame, Geolocation* geolocation) { ASSERT(geolocation); diff --git a/WebKit/android/WebCoreSupport/ChromeClientAndroid.h b/WebKit/android/WebCoreSupport/ChromeClientAndroid.h index 82a0164..4ac3d6c 100644 --- a/WebKit/android/WebCoreSupport/ChromeClientAndroid.h +++ b/WebKit/android/WebCoreSupport/ChromeClientAndroid.h @@ -120,6 +120,9 @@ namespace android { #if ENABLE(OFFLINE_WEB_APPLICATIONS) virtual void reachedMaxAppCacheSize(int64_t spaceNeeded); #endif + + virtual void populateVisitedLinks(); + // Methods used to request and provide Geolocation permissions. virtual void requestGeolocationPermissionForFrame(Frame*, Geolocation*); // Android-specific |