With the Java API:
WebContentsObserver.did(Start|Redirect|Finish)Navigation(...)
instead of forwarding many attributes, wrap them into a new class NavigationHandle.java
pros:
- Each time a new argument is added, there is no need to update all
the listeners.
- Java with the NavigationHandle.java is now using the same interface
as the NavigationHandle.cpp.
- JNI can be used to directly map C++ attributes/methods if needed.
Comment 1 by arthurso...@chromium.org
, Jan 11