| 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/simple_content_exceptions_window.h" | 5 #include "chrome/browser/gtk/options/simple_content_exceptions_window.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
| 9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "chrome/browser/gtk/gtk_util.h" | 10 #include "chrome/browser/gtk/gtk_util.h" |
| 11 #include "gfx/gtk_util.h" | 11 #include "gfx/gtk_util.h" |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 void SimpleContentExceptionsWindow::OnWindowDestroy(GtkWidget* widget) { | 203 void SimpleContentExceptionsWindow::OnWindowDestroy(GtkWidget* widget) { |
| 204 instance = NULL; | 204 instance = NULL; |
| 205 MessageLoop::current()->DeleteSoon(FROM_HERE, this); | 205 MessageLoop::current()->DeleteSoon(FROM_HERE, this); |
| 206 } | 206 } |
| 207 | 207 |
| 208 void SimpleContentExceptionsWindow::OnTreeSelectionChanged( | 208 void SimpleContentExceptionsWindow::OnTreeSelectionChanged( |
| 209 GtkWidget* selection) { | 209 GtkWidget* selection) { |
| 210 if (!ignore_selection_changes_) | 210 if (!ignore_selection_changes_) |
| 211 UpdateButtonState(); | 211 UpdateButtonState(); |
| 212 } | 212 } |
| OLD | NEW |