summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkit_glue.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-06 16:32:23 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-06 16:32:23 +0000
commit2ec901008f1e38e1c12aa8a955a722adde8d4fc0 (patch)
tree4848de7dff9de5d8d8f35ee79db5860cbd958870 /webkit/glue/webkit_glue.h
parent43f91a4f2a51cb808d4ba8c5975b83aba3b55c7e (diff)
downloadchromium_src-2ec901008f1e38e1c12aa8a955a722adde8d4fc0.zip
chromium_src-2ec901008f1e38e1c12aa8a955a722adde8d4fc0.tar.gz
chromium_src-2ec901008f1e38e1c12aa8a955a722adde8d4fc0.tar.bz2
More WebKit API action (chromium side)
R=dglazkov Review URL: http://codereview.chromium.org/39240 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11118 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_glue.h')
-rw-r--r--webkit/glue/webkit_glue.h38
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 ---------------------------------