Description[MD Extensions] Add support for URL navigation
The chrome://extensions page uses different urls for a few things,
primarily to highlight a given extension or to display the extension's
options. In the MD version, we have separate pages for these, which
makes these more like navigations.
Add basic page and history manipulation to the chrome://extensions page.
Navigating to a subpage updates the location and pushes a new state to
the history stack, so that clicking back will return you to the previous
page. Dialogs are contained within a page, and do not push a new
history state.
Examples:
- Navigating from the main view to the details view updates the
location, and 'back' would return to the main view.
- Opening the options dialog from the details view does not push new state
(since otherwise 'back' would just close the dialog).
Add tests for the same.
BUG=529395
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2811993004
Cr-Commit-Position: refs/heads/master@{#469216}
Committed: https://chromium.googlesource.com/chromium/src/+/8904a23861a4ec7ef5f8851a55d68c198c3ce829
Patch Set 1 #Patch Set 2 : . #
Total comments: 17
Patch Set 3 : Michael's #
Total comments: 12
Patch Set 4 : Michael's #
Total comments: 25
Patch Set 5 : Michael's #
Total comments: 4
Patch Set 6 : nits #Messages
Total messages: 34 (21 generated)
|