File tree Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Original file line number Diff line number Diff line change 1
1
CEF全称是Chromium Embedded Framework,它是Chromium的Content API的封装库。
2
2
CEF官网地址:https://bitbucket.org/chromiumembedded/cef
3
-
4
- CEF Util 货币 系统
5
- ------------------
6
- CEF Util以文件+文件Task List的形式组织协调开发。每个文件` File ` 对应一个` File Task List.md ` 文件,上面列出了该文件的任务分割,每个开发者领取了任务时,自己在` FileName Task List.md ` 里 将自己的名字以 ` @YourName ` 添加到任务名词之前,完成第一次` Fork+Pull Request ` 后,会在该条目后面列出获得的cef货币,CEF货币是一种口头约定货币系统,根据任务的不同会发布不同的币种,比如翻译任务会发布` $(Translate) ` 币,该币可以用来在CEFUitl项目里发起悬赏翻译,或者可以用来在自己简历上列出,以表征自己在CEFUtil项目里的贡献。实际上,根据不同的任务,会有各种有趣的币被发布。
3
+ CEF官方论坛:http://www.magpcss.org/ceforum
4
+ CEFSharp:https://github.com/cefsharp/CefSharp
7
5
8
6
CEF 文档中文翻译任务
9
7
--------------------
@@ -18,20 +16,3 @@ Chromium Documentations
18
16
- [ Chromium Resoures] ( https://github.com/fanfeilong/cefutil/blob/master/doc/chromium_resources.md )
19
17
- [ Chromium Content Register V8 Extension] ( https://github.com/fanfeilong/cefutil/blob/master/doc/content_register_v8_extension.md )
20
18
- [ CEF Interaction Between JavaScript and C++] ( https://github.com/fanfeilong/cefutil/blob/master/doc/CEF_JavaScript_Cpp.md )
21
-
22
- CEF FAQ
23
- -------
24
-
25
- #### 如何做进程间同步通信
26
- 参考CEF官方论坛的[ 这个帖子] ( http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=10680 ) ,尽量不要在CEF里做进程间同步通信,但如果你非要做。以下步骤是一个方案:
27
-
28
- 1 . Start the call in the Browser process by "SendMessage".
29
- 2 . In the BrowserProcess, configure a wait handle on an event until it gets signaled and wait.
30
- 3 . The Render process receives the sent message from the Browser process.
31
- 4 . The Render process calls the TryEval to execute the JavaScript.
32
- 5 . The return code of the evaluation is being sent back to the Browser process, marshaled into a CefProcessMessage.
33
- 6 . The Browser process receives the message, un-marshals the return code inside the message.
34
- 7 . The event object is being signaled.
35
- 8 . The Browser process returns to the caller the result of the JavaScript call.
36
-
37
- 如果是在Render进程首先发起调用,不要在CEFV8Handler的Execute里阻塞住执行流,参考CEF官方论坛的[ 这个使用Task的帖子] ( http://www.magpcss.org/ceforum/viewtopic.php?f=14&t=11132 ) 。
You can’t perform that action at this time.
0 commit comments