| 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/edit_search_engine_dialog.h" | 5 #include "chrome/browser/gtk/edit_search_engine_dialog.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 "app/resource_bundle.h" | 10 #include "app/resource_bundle.h" |
| 11 #include "base/i18n/rtl.h" | 11 #include "base/i18n/rtl.h" |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 GetURLInput()); | 282 GetURLInput()); |
| 283 } else { | 283 } else { |
| 284 controller_->CleanUpCancelledAdd(); | 284 controller_->CleanUpCancelledAdd(); |
| 285 } | 285 } |
| 286 gtk_widget_destroy(dialog_); | 286 gtk_widget_destroy(dialog_); |
| 287 } | 287 } |
| 288 | 288 |
| 289 void EditSearchEngineDialog::OnWindowDestroy(GtkWidget* widget) { | 289 void EditSearchEngineDialog::OnWindowDestroy(GtkWidget* widget) { |
| 290 MessageLoop::current()->DeleteSoon(FROM_HERE, this); | 290 MessageLoop::current()->DeleteSoon(FROM_HERE, this); |
| 291 } | 291 } |
| OLD | NEW |