| 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/options/content_exception_editor.h" | 5 #include "chrome/browser/gtk/options/content_exception_editor.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
| 11 #include "chrome/browser/content_exceptions_table_model.h" | 11 #include "chrome/browser/content_exceptions_table_model.h" |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 delegate_->AcceptExceptionEdit( | 127 delegate_->AcceptExceptionEdit( |
| 128 new_pattern, setting, is_off_the_record, index_, is_new()); | 128 new_pattern, setting, is_off_the_record, index_, is_new()); |
| 129 } | 129 } |
| 130 | 130 |
| 131 gtk_widget_destroy(dialog_); | 131 gtk_widget_destroy(dialog_); |
| 132 } | 132 } |
| 133 | 133 |
| 134 void ContentExceptionEditor::OnWindowDestroy(GtkWidget* widget) { | 134 void ContentExceptionEditor::OnWindowDestroy(GtkWidget* widget) { |
| 135 MessageLoop::current()->DeleteSoon(FROM_HERE, this); | 135 MessageLoop::current()->DeleteSoon(FROM_HERE, this); |
| 136 } | 136 } |
| OLD | NEW |