servo/ports/cef
2015-08-07 15:08:07 -05:00
..
.cargo Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
interfaces update all cef interfaces to use borrows for string_list params 2015-06-02 22:16:27 -04:00
browser.rs implement cef_display_handler::on_favicon_urlchange 2015-06-02 22:16:26 -04:00
browser_host.rs Use euclid from crates.io 2015-06-19 00:04:24 +02:00
Cargo.lock Update submodules and don't call setrlimit on Android 2015-08-07 15:08:07 -05:00
Cargo.toml Move net_error_list from net to net_traits. Fixes #7050. 2015-08-06 16:37:08 -05:00
command_line.rs Use slice::from_raw_parts to simplify command_line_init. 2015-06-20 13:33:25 +02:00
cookie.rs update various cef functions to use correct number of params 2015-05-05 17:05:52 -04:00
core.rs Make the global options more resilient to unit tests running in parallel. 2015-07-21 09:14:06 -04:00
drag_data.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
eutil.rs add no_mangle to servo_test() embedding function 2015-05-27 14:45:38 -04:00
frame.rs when creating a cef browser, setup the url to load but don't load it 2015-05-27 14:45:58 -04:00
lib.rs Move net_error_list from net to net_traits. Fixes #7050. 2015-08-06 16:37:08 -05:00
macros.rs add embedding macro for checking pointer existence 2015-05-21 21:15:11 -04:00
print_settings.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
process_message.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
README.md update cef embedding readme 2015-05-06 13:04:28 -04:00
regen_interface_mod_rs.sh update embedding interfaces mod.rs generator script to add MPL 2015-05-06 12:33:09 -04:00
render_handler.rs pass width and height information through to cef paint callback 2015-05-21 21:15:15 -04:00
request.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
request_context.rs update various cef functions to use correct number of params 2015-05-05 17:05:52 -04:00
response.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
stream.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
string.rs Improve indentation in CEF strings. 2015-06-20 14:04:24 +02:00
string_list.rs Stop using deprecated boxed::into_raw in cef. 2015-06-26 23:00:07 +02:00
string_map.rs Stop using deprecated boxed::into_raw in cef. 2015-06-26 23:00:07 +02:00
string_multimap.rs Stop using deprecated boxed::into_raw in cef. 2015-06-26 23:00:07 +02:00
stubs.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
switches.rs embedding: add some commonly used string constants from chromium 2014-11-20 11:53:37 -05:00
task.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
types.rs Move net_error_list from net to net_traits. Fixes #7050. 2015-08-06 16:37:08 -05:00
urlrequest.rs update various cef functions to use correct number of params 2015-05-05 17:05:52 -04:00
v8.rs Fix various build warnings. 2015-01-28 20:42:39 +01:00
values.rs update various cef functions to use correct number of params 2015-05-05 17:05:52 -04:00
window.rs Move net_error_list from net to net_traits. Fixes #7050. 2015-08-06 16:37:08 -05:00
wrappers.rs Stop using deprecated boxed::into_raw in cef. 2015-06-26 23:00:07 +02:00
xml_reader.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
zip_reader.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00

How to test:

  1. Go to http://cefbuilds.com/ and download a binary for your OS/arch
  2. Unpack the (huge) archive
  3. Create both Debug and Release build types for CEF (./build.sh [Debug|Release])
  4. Build servo
  5. Run a CEF-based executable with the embedding crate preloaded:
    • Linux: LD_LIBRARY_PATH=/path/to/cef-bin-unpack-dir/out/$build_type LD_PRELOAD=/path/to/servo/build/libembedding-*.so [CEF EXE]
  6. Enjoy CEF-powered crashes

Notes:

  • Running with the Debug build in GDB is EXTREMELY slow on startup. Only use this if you are actively debugging an unimplemented CEF interaction.
  • The contents of interfaces/ are entirely autogenerated. To regenerate, see https://github.com/zmike/cef-rebase/blob/master/README.md for full instructions