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

Unified Diff: chrome/browser/extensions/extension_global_error_badge.cc

Issue 10677009: Move command handling and updating off Browser and onto a helper object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/download/save_page_browsertest.cc ('k') | chrome/browser/global_keyboard_shortcuts_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_global_error_badge.cc
===================================================================
--- chrome/browser/extensions/extension_global_error_badge.cc (revision 144460)
+++ chrome/browser/extensions/extension_global_error_badge.cc (working copy)
@@ -9,6 +9,7 @@
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/browser_commands.h"
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
@@ -40,7 +41,7 @@
// a badge on the wrench menu in the future of this session.
extension_service->extension_warnings()->SuppressBadgeForCurrentWarnings();
- browser->ExecuteCommand(IDC_MANAGE_EXTENSIONS);
+ chrome::ExecuteCommand(browser, IDC_MANAGE_EXTENSIONS);
}
bool ExtensionGlobalErrorBadge::HasBubbleView() {
« no previous file with comments | « chrome/browser/download/save_page_browsertest.cc ('k') | chrome/browser/global_keyboard_shortcuts_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698