4e3d25c78e5c13f3a255eeadc353d94e1b86ab52

This change has TabStripModelObserver remember which TabStripModels it is observing, and unregister from those if necessary on destruction. It also removes instances of now-unnecessary cleanup code in subclass destructors. This change also introduces a new observable event on TabStripModelObserver: OnTabStripModelDestroyed. This event notifies observers that the model is being destroyed so they can do any necessary cleanup. In the future most uses of TabStripModelObserver::TabStripEmpty() should migrate to OnTabStripModelDestroyed(). Bug: 991308 Change-Id: Ifed459ec4d88136db4a00e4386dc6c2095048b46 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1739552 Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org> Auto-Submit: Elly Fong-Jones <ellyjones@chromium.org> Reviewed-by: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#686075}
…
…
Chromium
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
Description
Chromium是一个开源浏览器项目,提供了一种安全、快速、稳定的方法来体验Web。该浏览器可以在多个平台上下载,包括Mac、Windows、Linux和ChromiumOS。项目原始地址: https://chromium.googlesource.com/chromium/src.git
https://www.mobibrw.com/gitea-mirrors/chromium/src.git
Languages
C++
74.4%
Java
8.2%
Objective-C++
4.6%
TypeScript
4%
Python
2.5%
Other
6.1%