diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-13 17:18:50 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-13 17:18:50 +0000 |
commit | 8a6e174c293dfcce6b1c409f5f508537eaaa7f9c (patch) | |
tree | f4014f19df5697338cf5977fd5a70ec8c2b00c0c /webkit/glue/webkit_glue.h | |
parent | dca408e49016c2bdf1fef64be587f6f2d3b81cf8 (diff) | |
download | chromium_src-8a6e174c293dfcce6b1c409f5f508537eaaa7f9c.zip chromium_src-8a6e174c293dfcce6b1c409f5f508537eaaa7f9c.tar.gz chromium_src-8a6e174c293dfcce6b1c409f5f508537eaaa7f9c.tar.bz2 |
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
Diffstat (limited to 'webkit/glue/webkit_glue.h')
-rw-r--r-- | webkit/glue/webkit_glue.h | 8 |
1 files changed, 8 insertions, 0 deletions
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_ |