commit | 9aabf5fe92d47059cd1815163320684c149a6a72 | [log] [tgz] |
---|---|---|
author | Nate Chapin <japhet@chromium.org> | Fri Nov 12 00:31:19 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 12 00:31:19 2021 |
tree | a2649214b2703e343f690ea0f24eaedc18c19563 | |
parent | 9872337b36442fa626dad89cee80f77fdd41fb30 [diff] |
Rename to_different_document to should_show_loading_ui in LoadingStateChanged() callbacks Currently, the purpose of this bit is to indicate to embedders whether or not a navigation should show loading UI indicators. Currently, same document navigations never show loading UI because they're always processed synchronously, so there's no point in flipping to showing loading UI only to immediately turn it off again. However, in a future patch, we will introduce a new asynchronous kind of same-document navigation (as part of the new appHistory API). In preparation for that, rename to_different_document to should_show_loading_ui to better indicate what the bit means and how it should be used. Bug: 1241202 Change-Id: I8c890da3571b80b361644fdf8fbb366336a09f1a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3268574 Reviewed-by: Toni Barzic <tbarzic@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Chris Hamilton <chrisha@chromium.org> Reviewed-by: Charlie Reis <creis@chromium.org> Reviewed-by: Dominick Ng <dominickn@chromium.org> Reviewed-by: Tommy Nyquist <nyquist@chromium.org> Owners-Override: Charlie Reis <creis@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#940997}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.