| 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_exceptions_window_gtk.h" | 5 #include "chrome/browser/gtk/options/content_exceptions_window_gtk.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
| 11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 | 327 |
| 328 void ContentExceptionsWindowGtk::OnWindowDestroy(GtkWidget* widget) { | 328 void ContentExceptionsWindowGtk::OnWindowDestroy(GtkWidget* widget) { |
| 329 instances[model_->content_type()] = NULL; | 329 instances[model_->content_type()] = NULL; |
| 330 MessageLoop::current()->DeleteSoon(FROM_HERE, this); | 330 MessageLoop::current()->DeleteSoon(FROM_HERE, this); |
| 331 } | 331 } |
| 332 | 332 |
| 333 void ContentExceptionsWindowGtk::OnTreeSelectionChanged( | 333 void ContentExceptionsWindowGtk::OnTreeSelectionChanged( |
| 334 GtkWidget* selection) { | 334 GtkWidget* selection) { |
| 335 UpdateButtonState(); | 335 UpdateButtonState(); |
| 336 } | 336 } |
| OLD | NEW |