From 8a6e174c293dfcce6b1c409f5f508537eaaa7f9c Mon Sep 17 00:00:00 2001 From: "brettw@google.com" Date: Sat, 13 Dec 2008 17:18:50 +0000 Subject: Implement visited link coloring. Review URL: http://codereview.chromium.org/12928 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6970 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/webkit_glue.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'webkit/glue/webkit_glue.h') diff --git a/webkit/glue/webkit_glue.h b/webkit/glue/webkit_glue.h index 51e60e5..843c6e7 100644 --- a/webkit/glue/webkit_glue.h +++ b/webkit/glue/webkit_glue.h @@ -273,6 +273,14 @@ void SetForcefullyTerminatePluginProcess(bool value); // instead of exiting cleanly. bool ShouldForcefullyTerminatePluginProcess(); +// Returns the hash for the given canonicalized URL for use in visited link +// coloring. +uint64 VisitedLinkHash(const char* canonical_url, size_t length); + +// Returns whether the given link hash is in the user's history. The hash must +// have been generated by calling VisitedLinkHash(). +bool IsLinkVisited(uint64 link_hash); + } // namespace webkit_glue #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ -- cgit v1.1