summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport
diff options
context:
space:
mode:
authorLeon Clarke <leonclarke@google.com>2009-09-24 15:32:59 +0100
committerLeon Clarke <leonclarke@google.com>2009-09-24 17:46:03 +0100
commit7e7a0fd96b7d18fa3562af3b2bb4c7516fe9babe (patch)
treecffd23a4de921fc0b80aea310a2689febacfada3 /WebKit/android/WebCoreSupport
parent28e09963cd0ab02a20ddd0b687e55f97921445cc (diff)
downloadexternal_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.cpp8
-rw-r--r--WebKit/android/WebCoreSupport/ChromeClientAndroid.h3
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