gecko-dev/servo/ports/cef
Paul Rouget 0ae63d2433 servo: Merge #15795 - Let the embedder decide if servo should follow a link or not (from paulrouget:follow-link); r=asajeffrey
We want to give a chance to the embedder to handle a link itself.
Is it a problem that this will add a round trip to the main thread every time `load_url` is called?

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #15655

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because I'm not sure how to test that

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 808ffffd1e8dab9ca6340a981b797434b34e2e36

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 667e921e89833af26350326ab50d27517fc29cb3
2017-03-14 07:22:23 -07:00
..
.cargo servo: Merge #4719 - Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev (from servo:rustup_20150109); r=jdm 2015-01-27 18:15:50 -07:00
interfaces servo: Merge #13055 - Update Rust to 1.13.0-nightly (198713106 2016-08-26) (from servo:rustup); r=metajack 2016-08-28 07:53:33 -05:00
browser_host.rs servo: Merge #14141 - Implement home end key scrolling (from samuknet:home-end-key-scroll2); r=glennw 2017-01-23 07:26:00 -08:00
browser.rs servo: Merge #14592 - Remove the util crate (from asajeffrey:util-goodbye); r=mbrubeck 2016-12-14 16:48:42 -08:00
Cargo.toml servo: Merge #15769 - Kill serde_codegen 💣 (from nox:die-codegen-die); r=jdm 2017-02-28 11:10:17 -08:00
command_line.rs servo: Merge #7257 - Replace uses of for foo in bar.iter(), (from jxs:master); r=Ms2ger 2015-08-18 02:46:46 -06:00
cookie.rs servo: Merge #5955 - Embedding rebase rage (from zmike:embedding-REBASE_RAGE); r=larsbergstrom 2015-05-07 14:10:29 -05:00
core.rs servo: Merge #14592 - Remove the util crate (from asajeffrey:util-goodbye); r=mbrubeck 2016-12-14 16:48:42 -08:00
drag_data.rs servo: Merge #4719 - Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev (from servo:rustup_20150109); r=jdm 2015-01-27 18:15:50 -07:00
eutil.rs servo: Merge #8446 - Rust upgrade to rustc 1.6.0-nightly (5b4986fa5 2015-11-08) (from servo:rustup_20151110); r=SimonSapin+Ms2ger+jdm+Manishearth 2015-11-27 10:18:00 +05:01
frame.rs servo: Merge #8304 - Cleanup some unneeded let bindings (from dzbarsky:borrowck); r=Ms2ger 2015-11-07 01:02:40 +05:01
lib.rs servo: Merge #15670 - Kill the plugins crate and its clippy support (from nox:die-plugins-die); r=Manishearth 2017-02-21 05:15:15 -08:00
macros.rs servo: Merge #6125 - Renderrenderrenderrender: Now for embedding! (from zmike:renderrenderrenderrender); r=larsbergstrom 2015-05-24 19:26:00 -05:00
print_settings.rs servo: Merge #4719 - Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev (from servo:rustup_20150109); r=jdm 2015-01-27 18:15:50 -07:00
process_message.rs servo: Merge #4719 - Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev (from servo:rustup_20150109); r=jdm 2015-01-27 18:15:50 -07:00
README.md servo: Merge #11817 - embedding README updates (from zmike:master); r=metajack 2016-06-21 14:15:17 -05:00
regen_interface_mod_rs.sh servo: Merge #7629 - sync cef interfaces with upstream (from zmike:THE_RETURN_OF_EMBEDDING); r=larsbergstrom 2015-09-14 14:24:18 -06:00
render_handler.rs servo: Merge #6125 - Renderrenderrenderrender: Now for embedding! (from zmike:renderrenderrenderrender); r=larsbergstrom 2015-05-24 19:26:00 -05:00
request_context.rs servo: Merge #5955 - Embedding rebase rage (from zmike:embedding-REBASE_RAGE); r=larsbergstrom 2015-05-07 14:10:29 -05:00
request.rs servo: Merge #4719 - Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev (from servo:rustup_20150109); r=jdm 2015-01-27 18:15:50 -07:00
response.rs servo: Merge #4719 - Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev (from servo:rustup_20150109); r=jdm 2015-01-27 18:15:50 -07:00
stream.rs servo: Merge #4719 - Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev (from servo:rustup_20150109); r=jdm 2015-01-27 18:15:50 -07:00
string_list.rs servo: Merge #14644 - Ever so slightly less unstable (from servo:ever-so-slightly-less-unstable); r=heycam 2016-12-19 22:09:02 -08:00
string_map.rs servo: Merge #8446 - Rust upgrade to rustc 1.6.0-nightly (5b4986fa5 2015-11-08) (from servo:rustup_20151110); r=SimonSapin+Ms2ger+jdm+Manishearth 2015-11-27 10:18:00 +05:01
string_multimap.rs servo: Merge #8446 - Rust upgrade to rustc 1.6.0-nightly (5b4986fa5 2015-11-08) (from servo:rustup_20151110); r=SimonSapin+Ms2ger+jdm+Manishearth 2015-11-27 10:18:00 +05:01
string.rs servo: Merge #9896 - rename deprecated utf16_units to encode_utf16 (from Swatinem:rename_utf16); r=Ms2ger 2016-03-08 06:03:43 +05:01
stubs.rs servo: Merge #10269 - Fix some warnings (from jdm:cefwarn); r=Ms2ger 2016-03-30 08:15:37 +05:01
switches.rs servo: Merge #4044 - Embedding process (from zmike:embedding-process); r=jdm 2014-11-20 13:06:32 -07:00
task.rs servo: Merge #9201 - task -> thread (from ajnirp:8512-task-thread); r=jdm 2016-01-10 15:20:04 +05:01
types.rs servo: Merge #8446 - Rust upgrade to rustc 1.6.0-nightly (5b4986fa5 2015-11-08) (from servo:rustup_20151110); r=SimonSapin+Ms2ger+jdm+Manishearth 2015-11-27 10:18:00 +05:01
urlrequest.rs servo: Merge #5955 - Embedding rebase rage (from zmike:embedding-REBASE_RAGE); r=larsbergstrom 2015-05-07 14:10:29 -05:00
v8.rs servo: Merge #4756 - Fix various build warnings (from Ms2ger:warnings); r=mbrubeck 2015-01-28 13:15:53 -07:00
values.rs servo: Merge #5955 - Embedding rebase rage (from zmike:embedding-REBASE_RAGE); r=larsbergstrom 2015-05-07 14:10:29 -05:00
window.rs servo: Merge #15795 - Let the embedder decide if servo should follow a link or not (from paulrouget:follow-link); r=asajeffrey 2017-03-14 07:22:23 -07:00
wrappers.rs servo: Merge #14644 - Ever so slightly less unstable (from servo:ever-so-slightly-less-unstable); r=heycam 2016-12-19 22:09:02 -08:00
xml_reader.rs servo: Merge #4719 - Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev (from servo:rustup_20150109); r=jdm 2015-01-27 18:15:50 -07:00
zip_reader.rs servo: Merge #4719 - Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev (from servo:rustup_20150109); r=jdm 2015-01-27 18:15:50 -07:00

How to test:

  1. Build Servo's embedding crate (./mach build-cef [--release])
  2. Build ECEF (https://github.com/zmike/ecef)
  3. See ECEF README
  4. Enjoy CEF-powered crashes

Notes: