xxfxxf / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 0 forks source link

Introduce CefFrame::GetContext() to obtain V8 context of frame. #344

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Introduce CefFrame::GetContext() to obtain V8 context of frame.
It can be useful to accessing to global object from native code (or arbitrary 
javascript execution javascript functions via CefV8Value).

Original issue reported on code.google.com by fdd...@gmail.com on 16 Sep 2011 at 2:17

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Initial discussion here: http://www.magpcss.org/ceforum/viewtopic.php?t=441
Patch with little test/sample attached.

Original comment by fdd...@gmail.com on 23 Oct 2011 at 4:21

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, committed as revision 345 with changes:

1. Normal indentation is 2 spaces instead of 4.
2. Use anonymous namespace instead of static declaration for UIT_InvokeScript().
3. Add Mac cefclient implementation.
4. Minor naming and documentation improvements.

Original comment by magreenb...@gmail.com on 28 Oct 2011 at 8:33