Add initial Linux support (issue #40).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@338 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-10-24 20:20:52 +00:00
parent becadcfd16
commit 7a91ff899f
25 changed files with 986 additions and 51 deletions

View File

@ -110,7 +110,7 @@ int CEF_CALLBACK domdocument_has_selection(struct _cef_domdocument_t* self)
{
DCHECK(self);
if(!self)
return NULL;
return 0;
return CefDOMDocumentCppToC::Get(self)->HasSelection();
}
@ -134,7 +134,7 @@ int CEF_CALLBACK domdocument_get_selection_start_offset(
{
DCHECK(self);
if(!self)
return NULL;
return 0;
return CefDOMDocumentCppToC::Get(self)->GetSelectionStartOffset();
}
@ -158,7 +158,7 @@ int CEF_CALLBACK domdocument_get_selection_end_offset(
{
DCHECK(self);
if(!self)
return NULL;
return 0;
return CefDOMDocumentCppToC::Get(self)->GetSelectionEndOffset();
}