| 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/views/options/simple_content_exceptions_view.h" | 5 #include "chrome/browser/ui/views/options/simple_content_exceptions_view.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "app/l10n_util.h" | 10 #include "app/l10n_util.h" |
| 11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
| 12 #include "grit/generated_resources.h" | 12 #include "grit/generated_resources.h" |
| 13 #include "grit/locale_settings.h" | 13 #include "grit/locale_settings.h" |
| 14 #include "gfx/rect.h" | 14 #include "gfx/rect.h" |
| 15 #include "views/controls/button/native_button.h" | 15 #include "views/controls/button/native_button.h" |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 | 179 |
| 180 void SimpleContentExceptionsView::Remove() { | 180 void SimpleContentExceptionsView::Remove() { |
| 181 model_->RemoveRows(GetSelectedRows()); | 181 model_->RemoveRows(GetSelectedRows()); |
| 182 UpdateButtonState(); | 182 UpdateButtonState(); |
| 183 } | 183 } |
| 184 | 184 |
| 185 void SimpleContentExceptionsView::RemoveAll() { | 185 void SimpleContentExceptionsView::RemoveAll() { |
| 186 model_->RemoveAll(); | 186 model_->RemoveAll(); |
| 187 UpdateButtonState(); | 187 UpdateButtonState(); |
| 188 } | 188 } |
| OLD | NEW |