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

Issue 10870068: Make sure the Commands list correctly reflects the status of extensions right after install/uninsta… (Closed)

Created:
8 years, 4 months ago by Finnur
Modified:
8 years, 3 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Make sure the Commands list correctly reflects the status of extensions right after extension load/unload. BUG=121420 TEST=Right after installing/uninstalling an extension with an Extension Command, the Configure Commands link should be visible/not visible (respectively) and the list of commands should be up to date (not need refresh). Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=153489

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -4 lines) Patch
M chrome/browser/ui/webui/extensions/command_handler.h View 1 2 4 chunks +15 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/extensions/command_handler.cc View 1 2 4 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/extensions_ui.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Finnur
Yoyo, can you review? jhawkins: Can you give OWNERS approval? Thanks!
8 years, 4 months ago (2012-08-24 13:50:51 UTC) #1
James Hawkins
LGTM with nit. https://chromiumcodereview.appspot.com/10870068/diff/1/chrome/browser/ui/webui/extensions/command_handler.h File chrome/browser/ui/webui/extensions/command_handler.h (right): https://chromiumcodereview.appspot.com/10870068/diff/1/chrome/browser/ui/webui/extensions/command_handler.h#newcode42 chrome/browser/ui/webui/extensions/command_handler.h:42: virtual void Observe(int type, const content::NotificationSource& ...
8 years, 4 months ago (2012-08-24 15:24:25 UTC) #2
Yoyo Zhou
http://codereview.chromium.org/10870068/diff/1/chrome/browser/ui/webui/extensions/command_handler.cc File chrome/browser/ui/webui/extensions/command_handler.cc (right): http://codereview.chromium.org/10870068/diff/1/chrome/browser/ui/webui/extensions/command_handler.cc#newcode49 chrome/browser/ui/webui/extensions/command_handler.cc:49: registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNINSTALLED, You wrote install/uninstall in the CL description, ...
8 years, 4 months ago (2012-08-24 16:00:40 UTC) #3
Finnur
Yoyo: PTAL http://codereview.chromium.org/10870068/diff/1/chrome/browser/ui/webui/extensions/command_handler.cc File chrome/browser/ui/webui/extensions/command_handler.cc (right): http://codereview.chromium.org/10870068/diff/1/chrome/browser/ui/webui/extensions/command_handler.cc#newcode49 chrome/browser/ui/webui/extensions/command_handler.cc:49: registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNINSTALLED, Changed to load/unload. On 2012/08/24 ...
8 years, 3 months ago (2012-08-27 11:46:02 UTC) #4
Yoyo Zhou
8 years, 3 months ago (2012-08-27 15:12:29 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698