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

Unified Diff: chrome/browser/page_cycler/page_cycler.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/global_keyboard_shortcuts_mac.h ('k') | chrome/browser/ssl/ssl_browser_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/page_cycler/page_cycler.cc
===================================================================
--- chrome/browser/page_cycler/page_cycler.cc (revision 144460)
+++ chrome/browser/page_cycler/page_cycler.cc (working copy)
@@ -13,6 +13,7 @@
#include "base/string_split.h"
#include "base/utf_string_conversions.h"
#include "chrome/app/chrome_command_ids.h"
+#include "chrome/browser/ui/browser_commands.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/test/base/chrome_process_util.h"
#include "chrome/test/perf/perf_test.h"
@@ -232,7 +233,7 @@
CHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
BrowserList::RemoveObserver(this);
browser_->OnWindowClosing();
- browser_->ExecuteCommand(IDC_EXIT);
+ chrome::ExecuteCommand(browser_, IDC_EXIT);
Release(); // Balanced in PageCycler constructor;
// (only one of Finish/Abort should be called).
}
« no previous file with comments | « chrome/browser/global_keyboard_shortcuts_mac.h ('k') | chrome/browser/ssl/ssl_browser_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698