| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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" |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 void FirstRunBubble::HandleKeepButton(GtkWidget* sender) { | 217 void FirstRunBubble::HandleKeepButton(GtkWidget* sender) { |
| 218 bubble_->Close(); | 218 bubble_->Close(); |
| 219 } | 219 } |
| 220 | 220 |
| 221 void FirstRunBubble::HandleChangeButton(GtkWidget* sender) { | 221 void FirstRunBubble::HandleChangeButton(GtkWidget* sender) { |
| 222 bubble_->Close(); | 222 bubble_->Close(); |
| 223 Browser* browser = BrowserList::GetLastActive(); | 223 Browser* browser = BrowserList::GetLastActive(); |
| 224 DCHECK(browser); | 224 DCHECK(browser); |
| 225 browser->OpenSearchEngineOptionsDialog(); | 225 browser->OpenSearchEngineOptionsDialog(); |
| 226 } | 226 } |
| OLD | NEW |