diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-06 03:01:48 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-06 03:01:48 +0000 |
commit | 39308cbb5bb0d795fbe0790d03e99b0d5932fb0e (patch) | |
tree | bd37514d76675cb4029d8de933f23d1eee5e5c3d /chrome/browser/ui/browser_ui_prefs.cc | |
parent | 0bfa772f76cf3f2bd2f9f570a8bf1595cde911b3 (diff) | |
download | chromium_src-39308cbb5bb0d795fbe0790d03e99b0d5932fb0e.zip chromium_src-39308cbb5bb0d795fbe0790d03e99b0d5932fb0e.tar.gz chromium_src-39308cbb5bb0d795fbe0790d03e99b0d5932fb0e.tar.bz2 |
Infobar system refactor.
This changes the ownership model of infobars so that InfoBars are long-lived and
own their InfoBarDelegates directly. The InfoBarService pseudo-owns the
InfoBars (instead of deleting them directly, it tells them when they're unowned
and expects them to delete themselves).
This fixes leaks when infobars are closed while not visible (e.g. in a
background tab) and in general makes the system clearer and easier to reason
about.
BUG=62154
TEST=none
TBR=sky
Review URL: https://codereview.chromium.org/103993003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239110 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_ui_prefs.cc')
0 files changed, 0 insertions, 0 deletions