Chromium Code Reviews
DescriptionMD History: Use one-way binding for history query state.
Instead of changing query state anywhere within the history code,
elements now fire an event containing the changes they want to make.
This is picked up by the query-manager and used to modify the page state
as needed. Any UI changes will then flow down through the page using
one-way binding.
This pattern further centralises the querying logic, decoupling it from
the UI state. It also adds the capability to make multiple changes to
the query state at once, which is necessary to support routing for
Grouped History.
BUG=675841
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2643533003
Cr-Commit-Position: refs/heads/master@{#445526}
Committed: https://chromium.googlesource.com/chromium/src/+/b82ab87dd4f38c3c7ca5d6d2e8e3a96220772222
Patch Set 1 #Patch Set 2 : Cleanup #Patch Set 3 : Rebase #
Total comments: 4
Patch Set 4 : Remove wrapper function #Messages
Total messages: 26 (19 generated)
|