diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-28 01:13:47 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-28 01:13:47 +0000 |
commit | 90a3fbb1723ba60bcf557121b7bbe80817a7533f (patch) | |
tree | 28d845ed0f1d64cdfa418f4561af4536de6f3c40 /webkit/glue/webkit_glue.h | |
parent | 41fb1d7d262e44d8561a5c4d6d7e353f638b56e8 (diff) | |
download | chromium_src-90a3fbb1723ba60bcf557121b7bbe80817a7533f.zip chromium_src-90a3fbb1723ba60bcf557121b7bbe80817a7533f.tar.gz chromium_src-90a3fbb1723ba60bcf557121b7bbe80817a7533f.tar.bz2 |
Chrome side to pick up new WebKit API changes.
WebKit API now provides:
- layoutTestMode
- support for registering extra local URL schemes
- access to the current WebKitClient
WebKitClient was extended to include:
- access to the default locale
- access to the current time
- methods to start/stop the shared timer
- method to get work scheduled on the main thread
- methods to access cookies
- method to prefetch hostnames
R=dglazkov
Review URL: http://codereview.chromium.org/27276
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10665 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_glue.h')
-rw-r--r-- | webkit/glue/webkit_glue.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/webkit/glue/webkit_glue.h b/webkit/glue/webkit_glue.h index 579ca5d..efe0576 100644 --- a/webkit/glue/webkit_glue.h +++ b/webkit/glue/webkit_glue.h @@ -76,13 +76,6 @@ void SetShouldExposeGCController(bool enable); //----------------------------------------------------------------------------- // Functions implemented by WebKit, called by the embedder: -// Turns on "layout test" mode, which tries to mimic the font and widget sizing -// of the Mac DumpRenderTree. -void SetLayoutTestMode(bool enable); -bool IsLayoutTestMode(); - -void InitializeForTesting(); - // Turn on the logging for notImplemented() calls from WebCore. void EnableWebCoreNotImplementedLogging(); @@ -150,10 +143,6 @@ void SetMediaPlayerAvailable(bool value); // Returns true if media player is available and can be created. bool IsMediaPlayerAvailable(); -// This function is called to request a prefetch of the DNS resolution for the -// provided hostname. -void PrefetchDns(const std::string& hostname); - // This function is called to request a prefetch of the entire URL, loading it // into our cache for (expected) future needs. The given URL may NOT be in // canonical form and it will NOT be null-terminated; use the length instead. @@ -162,18 +151,6 @@ void PrecacheUrl(const char16* url, int url_length); // This function is called to add a line to the application's log file. void AppendToLog(const char* filename, int line, const char* message); -// Sets a cookie string for the given URL. The policy_url argument indicates -// the URL of the topmost frame, which may be useful for determining whether or -// not to allow this cookie setting. NOTE: the cookie string is a standard -// cookie string of the form "name=value; option1=x; option2=y" -void SetCookie(const GURL& url, const GURL& policy_url, - const std::string& cookie); - -// Returns all cookies in the form "a=1; b=2; c=3" for the given URL. NOTE: -// this string should not include any options that may have been specified when -// the cookie was set. Semicolons delimit individual cookies in this context. -std::string GetCookies(const GURL& url, const GURL& policy_url); - // Gather usage statistics from the in-memory cache and inform our host, if // applicable. void NotifyCacheStats(); |