Xilium.CefGlue/3 & CefGlue/1

Having problems with building or using the CefGlue .NET/Mono binding? Ask your questions here.

Moderator: fddima

Re: Xilium.CefGlue/3 & CefGlue/1

Postby AlexDj94 » Thu Jul 26, 2012 4:05 am

I need help with JSDialog
Code: Select all
protected override bool OnJSDialog(CefBrowser browser, string originUrl, string acceptLang, CefJSDialogType dialogType, string message_text, string default_prompt_text, CefJSDialogCallback callback, out bool suppress_message)
        {
            suppress_message = false;
            _core.OnJSDialog(originUrl, acceptLang, dialogType, message_text, default_prompt_text, callback);
            return true;
        }


This code work, show message box, press ok on message box and the page freezing :(
AlexDj94
Newbie
 
Posts: 7
Joined: Thu Apr 05, 2012 11:57 am

Re: Xilium.CefGlue/3 & CefGlue/1

Postby fddima » Thu Jul 26, 2012 4:51 am

AlexDj94 wrote:This code work, show message box, press ok on message box and the page freezing :(

Do you call callback.Continue?

PS: This topic landed on CefGlue Forum, you can create new topics if have different questions.
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Re: Xilium.CefGlue/3 & CefGlue/1

Postby AlexDj94 » Thu Jul 26, 2012 8:46 am

Yes i call e.callback.Continue(false, ""); or true, etc... (The code work)
AlexDj94
Newbie
 
Posts: 7
Joined: Thu Apr 05, 2012 11:57 am

Re: Xilium.CefGlue/3 & CefGlue/1

Postby fddima » Thu Jul 26, 2012 9:30 am

AlexDj94 wrote:Yes i call e.callback.Continue(false, ""); or true, etc... (The code work)

If problem persist, i need reproduction sample.
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Updated to CEF 3.1180.728

Postby fddima » Wed Aug 01, 2012 3:26 pm

Sources updated to CEF 3.1180.728.
Prebuilt non-official CEF 3.1180.728 binaries.
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Updated to 3.1224.730

Postby fddima » Mon Aug 06, 2012 12:29 pm

Sources updated to CEF 3.1224.730.
Prebuilt non-official CEF 3.1224.730 binaries.
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Re: Xilium.CefGlue/3 & CefGlue/1

Postby mvitorino » Mon Aug 13, 2012 9:16 am

Xilium.CefGlue.CefApp::get_render_process_handler is never called. Any Idea why? Do I need to do anything in particular?
I'm using the latest revision with CEF 3 730 binaries.

Thanks,

Miguel
mvitorino
Newbie
 
Posts: 2
Joined: Sun Aug 12, 2012 3:18 pm

Re: Xilium.CefGlue/3 & CefGlue/1

Postby fddima » Mon Aug 13, 2012 10:03 am

mvitorino wrote:Xilium.CefGlue.CefApp::get_render_process_handler is never called. Any Idea why? Do I need to do anything in particular?
I'm using the latest revision with CEF 3 730 binaries.


It is called from render process, not from browser process.

Just add to DemoApp and see that it is working.
Code: Select all
        protected override CefRenderProcessHandler GetRenderProcessHandler()
        {
            MessageBox.Show("GetRenderProcessHandler()");
            return base.GetRenderProcessHandler();
        }
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Re: Xilium.CefGlue/3 & CefGlue/1

Postby mvitorino » Mon Aug 13, 2012 10:17 am

Thanks! I understand it now. My debugger was attached to the main process. I'm sorry if is was a basic question since I'm just starting on CefGlue. Great project by the way!

Miguel
mvitorino
Newbie
 
Posts: 2
Joined: Sun Aug 12, 2012 3:18 pm

Bug in \CefGlue\Structs\CefCookie.cs (Xilium.CefGlue.CefCook

Postby theherridge » Tue Aug 14, 2012 10:00 am

I assume this is a bug, i've been writing my own customised httphandler and had issues with the cookie storage - the value was coming back as the domain.
I found this;
Lines 27->31

Name = cef_string_t.ToString(&ptr->name),
Value = cef_string_t.ToString(&ptr->value),
Domain = cef_string_t.ToString(&ptr->value),
Path = cef_string_t.ToString(&ptr->value),

I assume it should be.

Name = cef_string_t.ToString(&ptr->name),
Value = cef_string_t.ToString(&ptr->value),
Domain = cef_string_t.ToString(&ptr->domain),
Path = cef_string_t.ToString(&ptr->path),

:D
theherridge
Newbie
 
Posts: 1
Joined: Tue Aug 14, 2012 9:58 am

PreviousNext

Return to CefGlue Forum

Who is online

Users browsing this forum: No registered users and 23 guests