| 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/exceptions_view.h" | 5 #include "chrome/browser/ui/views/options/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 "chrome/browser/views/options/content_exceptions_table_view.h" | 12 #include "chrome/browser/ui/views/options/content_exceptions_table_view.h" |
| 13 #include "grit/generated_resources.h" | 13 #include "grit/generated_resources.h" |
| 14 #include "grit/locale_settings.h" | 14 #include "grit/locale_settings.h" |
| 15 #include "gfx/rect.h" | 15 #include "gfx/rect.h" |
| 16 #include "views/controls/button/native_button.h" | 16 #include "views/controls/button/native_button.h" |
| 17 #include "views/controls/label.h" | 17 #include "views/controls/label.h" |
| 18 #include "views/controls/table/table_view.h" | 18 #include "views/controls/table/table_view.h" |
| 19 #include "views/grid_layout.h" | 19 #include "views/grid_layout.h" |
| 20 #include "views/standard_layout.h" | 20 #include "views/standard_layout.h" |
| 21 #include "views/window/window.h" | 21 #include "views/window/window.h" |
| 22 | 22 |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 } | 270 } |
| 271 | 271 |
| 272 UpdateButtonState(); | 272 UpdateButtonState(); |
| 273 } | 273 } |
| 274 | 274 |
| 275 void ExceptionsView::RemoveAll() { | 275 void ExceptionsView::RemoveAll() { |
| 276 model_.RemoveAll(); | 276 model_.RemoveAll(); |
| 277 | 277 |
| 278 UpdateButtonState(); | 278 UpdateButtonState(); |
| 279 } | 279 } |
| OLD | NEW |