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

Side by Side Diff: chrome/browser/gtk/first_run_bubble.cc

Issue 5046002: Cleanup: Include browser.h -> ui/browser.h [Part 2]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/gtk/first_run_bubble.h" 5 #include "chrome/browser/gtk/first_run_bubble.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/i18n/rtl.h" 11 #include "base/i18n/rtl.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "chrome/browser/browser.h"
14 #include "chrome/browser/browser_list.h" 13 #include "chrome/browser/browser_list.h"
15 #include "chrome/browser/gtk/gtk_theme_provider.h" 14 #include "chrome/browser/gtk/gtk_theme_provider.h"
16 #include "chrome/browser/gtk/gtk_util.h" 15 #include "chrome/browser/gtk/gtk_util.h"
17 #include "chrome/browser/search_engines/util.h" 16 #include "chrome/browser/search_engines/util.h"
17 #include "chrome/browser/ui/browser.h"
18 #include "chrome/common/notification_service.h" 18 #include "chrome/common/notification_service.h"
19 #include "grit/chromium_strings.h" 19 #include "grit/chromium_strings.h"
20 #include "grit/generated_resources.h" 20 #include "grit/generated_resources.h"
21 #include "grit/locale_settings.h" 21 #include "grit/locale_settings.h"
22 22
23 namespace { 23 namespace {
24 // Markup for the text of the Omnibox search label 24 // Markup for the text of the Omnibox search label
25 const char kSearchLabelMarkup[] = "<big><b>%s</b></big>"; 25 const char kSearchLabelMarkup[] = "<big><b>%s</b></big>";
26 26
27 // Padding for the buttons on first run bubble. 27 // Padding for the buttons on first run bubble.
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 void FirstRunBubble::HandleKeepButton(GtkWidget* sender) { 213 void FirstRunBubble::HandleKeepButton(GtkWidget* sender) {
214 bubble_->Close(); 214 bubble_->Close();
215 } 215 }
216 216
217 void FirstRunBubble::HandleChangeButton(GtkWidget* sender) { 217 void FirstRunBubble::HandleChangeButton(GtkWidget* sender) {
218 bubble_->Close(); 218 bubble_->Close();
219 Browser* browser = BrowserList::GetLastActive(); 219 Browser* browser = BrowserList::GetLastActive();
220 DCHECK(browser); 220 DCHECK(browser);
221 browser->OpenSearchEngineOptionsDialog(); 221 browser->OpenSearchEngineOptionsDialog();
222 } 222 }
OLDNEW
« no previous file with comments | « chrome/browser/external_protocol_handler.cc ('k') | chrome/browser/idbbindingutilities_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698