All instances of "C:\chromium" should be replaced with the appropriate path on your system.
1. Build CEF3/Chromium from source code as described at https://code.google.com/p/chromiumembed ... ndBuilding.
2. Edit C:\chromium\src\build\some.gyp, add '../ppapi/ppapi_internal.gyp:ppapi_example_paint_manager' in the 'dependencies' section.
3. Run `gclient runhooks` from the chromium src directory to update the build files.
4. Open C:\chromium\src\build\some.sln (on equivalent on other platforms) and build the ppapi_example_paint_manager target to create ppapi_example_paint_manager.dll.
5. Run cefclient with the following command-line flags:
- Code: Select all
--ppapi-out-of-process --register-pepper-plugins="C:\chromium\src\build\Debug\ppapi_example_paint_manager.dll;application/x-ppapi-example-2d" --url=file:///C:/chromium/src/ppapi/examples/2d/2d.html
When cefclient loads you should see a purple plugin area where clicking the left mouse button draws white rectangles between the points clicked.