Skip to content

Commit af03666

Browse files
committed
Update README.md
1 parent 1fe8253 commit af03666

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

README.md

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
CEF全称是Chromium Embedded Framework,它是Chromium的Content API的封装库。
22
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
75

86
CEF 文档中文翻译任务
97
--------------------
@@ -18,20 +16,3 @@ Chromium Documentations
1816
- [Chromium Resoures](https://github.com/fanfeilong/cefutil/blob/master/doc/chromium_resources.md)
1917
- [Chromium Content Register V8 Extension](https://github.com/fanfeilong/cefutil/blob/master/doc/content_register_v8_extension.md)
2018
- [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)

0 commit comments

Comments
 (0)