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

Side by Side Diff: chrome/browser/ui/gtk/edit_search_engine_dialog.cc

Issue 14307023: chrome: Use base::MessageLoop. (Part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/gtk/edit_search_engine_dialog.h" 5 #include "chrome/browser/ui/gtk/edit_search_engine_dialog.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "base/i18n/case_conversion.h" 9 #include "base/i18n/case_conversion.h"
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 controller_->AcceptAddOrEdit(GetTitleInput(), 265 controller_->AcceptAddOrEdit(GetTitleInput(),
266 GetKeywordInput(), 266 GetKeywordInput(),
267 GetURLInput()); 267 GetURLInput());
268 } else { 268 } else {
269 controller_->CleanUpCancelledAdd(); 269 controller_->CleanUpCancelledAdd();
270 } 270 }
271 gtk_widget_destroy(dialog_); 271 gtk_widget_destroy(dialog_);
272 } 272 }
273 273
274 void EditSearchEngineDialog::OnWindowDestroy(GtkWidget* widget) { 274 void EditSearchEngineDialog::OnWindowDestroy(GtkWidget* widget) {
275 MessageLoop::current()->DeleteSoon(FROM_HERE, this); 275 base::MessageLoop::current()->DeleteSoon(FROM_HERE, this);
276 } 276 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698