diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-06 19:43:03 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-06 19:43:03 +0000 |
commit | b1f031fee7f0c43ef56e1152b79e5e806e5262bf (patch) | |
tree | 0cb7f2d0976ee30b08095f32a36c23e8673b1fa9 /webkit/glue/webkit_glue.h | |
parent | 2269fd09eff09fd41c988aaacf0ea7cef07eca27 (diff) | |
download | chromium_src-b1f031fee7f0c43ef56e1152b79e5e806e5262bf.zip chromium_src-b1f031fee7f0c43ef56e1152b79e5e806e5262bf.tar.gz chromium_src-b1f031fee7f0c43ef56e1152b79e5e806e5262bf.tar.bz2 |
Reland r11118.
TBR=dglazkov
Review URL: http://codereview.chromium.org/40240
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11137 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_glue.h')
-rw-r--r-- | webkit/glue/webkit_glue.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/webkit/glue/webkit_glue.h b/webkit/glue/webkit_glue.h index 0ddee38..7b79ff9 100644 --- a/webkit/glue/webkit_glue.h +++ b/webkit/glue/webkit_glue.h @@ -29,27 +29,6 @@ namespace WebKit { class WebString; } -#if defined(OS_MACOSX) -// TODO(port): -// When the code (that got compiled) only used SkBitmap*, it was OK to -// make a GlueBitmap be a SkBitmap* or CGImageRef. However, lots of -// other chrome files that need to be brought in (such as -// chrome/viewas/tree_model.h) uses SkBitmap (as a non-pointer). -// Although *(GlueBitmap) makes sense as *(SkBitmap*), it does not -// make sense as *(CGImageRef). -typedef struct CGImage* CGImageRef; -class GlueBitmap { - public: - explicit GlueBitmap(CGImageRef ref) : ref_(ref) { } - GlueBitmap() : ref_(0) { } - operator CGImageRef() { return ref_; } - private: - CGImageRef ref_; -}; -#else -typedef SkBitmap GlueBitmap; -#endif - namespace webkit_glue { struct ScreenInfo; @@ -162,15 +141,6 @@ string16 GetLocalizedString(int message_id); // specified as BINDATA in the relevant .rc file. std::string GetDataResource(int resource_id); -// Returns a GlueBitmap for a resource. This resource must have been -// specified as BINDATA in the relevant .rc file. -#if defined(OS_MACOSX) -// TODO(port) -SkBitmap* GetBitmapResource(int resource_id); -#else -GlueBitmap* GetBitmapResource(int resource_id); -#endif - #if defined(OS_WIN) // Loads and returns a cursor. HCURSOR LoadCursor(int cursor_id); @@ -247,14 +217,6 @@ bool FindProxyForUrl(const GURL& url, std::string* proxy_list); // the form language-country (e.g., en-US or pt-BR). std::wstring GetWebKitLocale(); -// 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); - // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- |