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

Unified Diff: chrome/browser/views/first_run_bubble.cc

Issue 3142020: Changed ChromeOS status bar menu handlers to obey --enable-tabbed-options swi... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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/options_window.h ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/first_run_bubble.cc
===================================================================
--- chrome/browser/views/first_run_bubble.cc (revision 56688)
+++ chrome/browser/views/first_run_bubble.cc (working copy)
@@ -13,7 +13,6 @@
#include "chrome/browser/browser_list.h"
#include "chrome/browser/browser_window.h"
#include "chrome/browser/first_run/first_run.h"
-#include "chrome/browser/options_window.h"
#include "chrome/browser/search_engines/util.h"
#include "chrome/browser/metrics/user_metrics.h"
#include "grit/chromium_strings.h"
@@ -149,10 +148,10 @@
UserMetrics::RecordAction(
UserMetricsAction("FirstRunBubbleView_ChangeButton"),
profile_);
+
Browser* browser = BrowserList::GetLastActive();
if (browser) {
- ShowOptionsWindow(OPTIONS_PAGE_GENERAL, OPTIONS_GROUP_DEFAULT_SEARCH,
- browser->profile());
+ browser->OpenSearchEngineOptionsDialog();
}
}
}
« no previous file with comments | « chrome/browser/options_window.h ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698