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

Issue 9718008: Replace extension disabled infobar with a global error. (Closed)

Created:
8 years, 9 months ago by Yoyo Zhou
Modified:
8 years, 9 months ago
CC:
chromium-reviews, mihaip+watch_chromium.org
Visibility:
Public.

Description

Replace extension disabled infobar with a global error. Move disabled-extension interface to namespace extensions. It looks like this: http://dl.dropbox.com/u/27111995/Mocks/disable-dialog.png http://dl.dropbox.com/u/27111995/Mocks/disable-menu.png BUG=108202 TEST=install extension, update to version that requires additional permissions. Accept upgrade. Uninstall manually from chrome://extensions. Don't crash. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=127887

Patch Set 1 #

Total comments: 4

Patch Set 2 : 2 #

Total comments: 2

Patch Set 3 : 3 #

Patch Set 4 : rebase #

Patch Set 5 : moar #

Unified diffs Side-by-side diffs Delta from patch set Stats (+397 lines, -311 lines) Patch
M chrome/app/chrome_command_ids.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +7 lines, -4 lines 0 comments Download
D chrome/browser/extensions/extension_disabled_infobar_delegate.h View 1 chunk +0 lines, -22 lines 0 comments Download
D chrome/browser/extensions/extension_disabled_infobar_delegate.cc View 1 chunk +0 lines, -195 lines 0 comments Download
A + chrome/browser/extensions/extension_disabled_ui.h View 1 2 chunks +8 lines, -4 lines 0 comments Download
A chrome/browser/extensions/extension_disabled_ui.cc View 1 1 chunk +291 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_disabled_ui_browsertest.cc View 1 2 3 4 1 chunk +81 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_management_browsertest.cc View 1 2 3 4 2 chunks +0 lines, -79 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/extension_settings_handler.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Yoyo Zhou
mpcomplete: please review for extensions sail: please review for use of GlobalError
8 years, 9 months ago (2012-03-16 22:09:06 UTC) #1
sail
Looks good! Could you also add unit tests for the new bubble? Here are some ...
8 years, 9 months ago (2012-03-16 22:21:43 UTC) #2
Aaron Boodman
UI feedback: 1) Multiple menu items should be possible if multiple extensions are in this ...
8 years, 9 months ago (2012-03-16 22:36:03 UTC) #3
Matt Perry
lgtm http://codereview.chromium.org/9718008/diff/1/chrome/browser/extensions/extension_disabled_ui.h File chrome/browser/extensions/extension_disabled_ui.h (right): http://codereview.chromium.org/9718008/diff/1/chrome/browser/extensions/extension_disabled_ui.h#newcode19 chrome/browser/extensions/extension_disabled_ui.h:19: class ExtensionDisabledGlobalError : public GlobalError, Can this go ...
8 years, 9 months ago (2012-03-16 23:52:06 UTC) #4
Yoyo Zhou
I added a browsertest for the error bubble. Unfortunately I can't call its Accept/Cancel methods ...
8 years, 9 months ago (2012-03-20 07:04:08 UTC) #5
Matt Perry
lgtm https://chromiumcodereview.appspot.com/9718008/diff/6001/chrome/browser/extensions/extension_disabled_ui_browsertest.cc File chrome/browser/extensions/extension_disabled_ui_browsertest.cc (right): https://chromiumcodereview.appspot.com/9718008/diff/6001/chrome/browser/extensions/extension_disabled_ui_browsertest.cc#newcode34 chrome/browser/extensions/extension_disabled_ui_browsertest.cc:34: ExtensionService* service = browser()->profile()->GetExtensionService(); nit: this is just ...
8 years, 9 months ago (2012-03-20 17:05:04 UTC) #6
Yoyo Zhou
https://chromiumcodereview.appspot.com/9718008/diff/6001/chrome/browser/extensions/extension_disabled_ui_browsertest.cc File chrome/browser/extensions/extension_disabled_ui_browsertest.cc (right): https://chromiumcodereview.appspot.com/9718008/diff/6001/chrome/browser/extensions/extension_disabled_ui_browsertest.cc#newcode34 chrome/browser/extensions/extension_disabled_ui_browsertest.cc:34: ExtensionService* service = browser()->profile()->GetExtensionService(); On 2012/03/20 17:05:04, Matt Perry ...
8 years, 9 months ago (2012-03-20 17:45:02 UTC) #7
sail
LGTM!
8 years, 9 months ago (2012-03-20 19:50:07 UTC) #8
Yoyo Zhou
FYI, I found a couple of tests in extension_management_browsertest that had been testing this already ...
8 years, 9 months ago (2012-03-20 23:29:43 UTC) #9
Yoyo Zhou
pkasting: could you rubber-stamp for chrome/browser/ui? Thanks.
8 years, 9 months ago (2012-03-20 23:40:27 UTC) #10
Peter Kasting
LGTM
8 years, 9 months ago (2012-03-20 23:42:13 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/9718008/18001
8 years, 9 months ago (2012-03-20 23:45:16 UTC) #12
commit-bot: I haz the power
8 years, 9 months ago (2012-03-21 02:48:12 UTC) #13
Change committed as 127887

Powered by Google App Engine
This is Rietveld 408576698