Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Issue 683763003: Fix bug where AppInfoDialog was outliving ExtensionSettingsHandler (Closed)

Created:
6 years, 1 month ago by sashab
Modified:
6 years, 1 month ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, benwells, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix bug where AppInfoDialog was outliving ExtensionSettingsHandler Fixed bug on Ubuntu Linux where the AppInfoDialog was outliving the ExtensionSettingsHandler, causing Chrome to crash when the browser window was closed while the dialog was open. This used to only happen on Mac (where the dialog is disabled), but now happens on Linux Unity due to Unity's always-accessible close/minimise/maximise toolbar. TEST=Make Chrome fullscreen on Ubuntu with Unity enabled, then navigate to chrome://extensions, click Details next to an app, and close Chrome by clicking the X in Unity's fullscreen toolbar (not in Chrome). Chrome should close gracefully and not crash. BUG=427506 Committed: https://crrev.com/fc3df0bae9f7d607a6bd3e7472ebe0b6a9d92074 Cr-Commit-Position: refs/heads/master@{#302566}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Comment fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -16 lines) Patch
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 1 5 chunks +22 lines, -16 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
sashab
Small patch; just uses BrokerDelegate to pass an ExtensionSettingsHandler* like the previous permissions dialog did.
6 years, 1 month ago (2014-11-03 05:49:46 UTC) #2
not at google - send to devlin
lgtm https://codereview.chromium.org/683763003/diff/1/chrome/browser/ui/webui/extensions/extension_settings_handler.cc File chrome/browser/ui/webui/extensions/extension_settings_handler.cc (right): https://codereview.chromium.org/683763003/diff/1/chrome/browser/ui/webui/extensions/extension_settings_handler.cc#newcode142 chrome/browser/ui/webui/extensions/extension_settings_handler.cc:142: // On Mac (and Linux with Unity), the ...
6 years, 1 month ago (2014-11-03 17:37:49 UTC) #3
sashab
https://codereview.chromium.org/683763003/diff/1/chrome/browser/ui/webui/extensions/extension_settings_handler.cc File chrome/browser/ui/webui/extensions/extension_settings_handler.cc (right): https://codereview.chromium.org/683763003/diff/1/chrome/browser/ui/webui/extensions/extension_settings_handler.cc#newcode142 chrome/browser/ui/webui/extensions/extension_settings_handler.cc:142: // On Mac (and Linux with Unity), the install ...
6 years, 1 month ago (2014-11-04 01:32:21 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/683763003/20001
6 years, 1 month ago (2014-11-04 01:34:07 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 1 month ago (2014-11-04 03:14:17 UTC) #7
commit-bot: I haz the power
6 years, 1 month ago (2014-11-04 03:14:51 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fc3df0bae9f7d607a6bd3e7472ebe0b6a9d92074
Cr-Commit-Position: refs/heads/master@{#302566}

Powered by Google App Engine
This is Rietveld 408576698