| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/ui/webui/options2/content_settings_handler2.h" | 5 #include "chrome/browser/ui/webui/options2/content_settings_handler2.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 // Cookies filter. | 367 // Cookies filter. |
| 368 { "cookies_tab_label", IDS_COOKIES_TAB_LABEL }, | 368 { "cookies_tab_label", IDS_COOKIES_TAB_LABEL }, |
| 369 { "cookies_header", IDS_COOKIES_HEADER }, | 369 { "cookies_header", IDS_COOKIES_HEADER }, |
| 370 { "cookies_allow", IDS_COOKIES_ALLOW_RADIO }, | 370 { "cookies_allow", IDS_COOKIES_ALLOW_RADIO }, |
| 371 { "cookies_block", IDS_COOKIES_BLOCK_RADIO }, | 371 { "cookies_block", IDS_COOKIES_BLOCK_RADIO }, |
| 372 { "cookies_session_only", IDS_COOKIES_SESSION_ONLY_RADIO }, | 372 { "cookies_session_only", IDS_COOKIES_SESSION_ONLY_RADIO }, |
| 373 { "cookies_block_3rd_party", IDS_COOKIES_BLOCK_3RDPARTY_CHKBOX }, | 373 { "cookies_block_3rd_party", IDS_COOKIES_BLOCK_3RDPARTY_CHKBOX }, |
| 374 { "cookies_clear_when_close", IDS_COOKIES_CLEAR_WHEN_CLOSE_CHKBOX }, | 374 { "cookies_clear_when_close", IDS_COOKIES_CLEAR_WHEN_CLOSE_CHKBOX }, |
| 375 { "cookies_lso_clear_when_close", IDS_COOKIES_LSO_CLEAR_WHEN_CLOSE_CHKBOX }, | 375 { "cookies_lso_clear_when_close", IDS_COOKIES_LSO_CLEAR_WHEN_CLOSE_CHKBOX }, |
| 376 { "cookies_show_cookies", IDS_COOKIES_SHOW_COOKIES_BUTTON }, | 376 { "cookies_show_cookies", IDS_COOKIES_SHOW_COOKIES_BUTTON }, |
| 377 { "cookies_show_app_cookies", IDS_COOKIES_SHOW_APP_COOKIES_BUTTON }, |
| 377 { "flash_storage_settings", IDS_FLASH_STORAGE_SETTINGS }, | 378 { "flash_storage_settings", IDS_FLASH_STORAGE_SETTINGS }, |
| 378 { "flash_storage_url", IDS_FLASH_STORAGE_URL }, | 379 { "flash_storage_url", IDS_FLASH_STORAGE_URL }, |
| 379 // Image filter. | 380 // Image filter. |
| 380 { "images_tab_label", IDS_IMAGES_TAB_LABEL }, | 381 { "images_tab_label", IDS_IMAGES_TAB_LABEL }, |
| 381 { "images_header", IDS_IMAGES_HEADER }, | 382 { "images_header", IDS_IMAGES_HEADER }, |
| 382 { "images_allow", IDS_IMAGES_LOAD_RADIO }, | 383 { "images_allow", IDS_IMAGES_LOAD_RADIO }, |
| 383 { "images_block", IDS_IMAGES_NOLOAD_RADIO }, | 384 { "images_block", IDS_IMAGES_NOLOAD_RADIO }, |
| 384 // JavaScript filter. | 385 // JavaScript filter. |
| 385 { "javascript_tab_label", IDS_JAVASCRIPT_TAB_LABEL }, | 386 { "javascript_tab_label", IDS_JAVASCRIPT_TAB_LABEL }, |
| 386 { "javascript_header", IDS_JAVASCRIPT_HEADER }, | 387 { "javascript_header", IDS_JAVASCRIPT_HEADER }, |
| (...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1328 for (size_t i = 0; i < arraysize(kExContentSettingsTypeGroupNames); ++i) { | 1329 for (size_t i = 0; i < arraysize(kExContentSettingsTypeGroupNames); ++i) { |
| 1329 if (type == kExContentSettingsTypeGroupNames[i].type) | 1330 if (type == kExContentSettingsTypeGroupNames[i].type) |
| 1330 return kExContentSettingsTypeGroupNames[i].name; | 1331 return kExContentSettingsTypeGroupNames[i].name; |
| 1331 } | 1332 } |
| 1332 | 1333 |
| 1333 NOTREACHED(); | 1334 NOTREACHED(); |
| 1334 return std::string(); | 1335 return std::string(); |
| 1335 } | 1336 } |
| 1336 | 1337 |
| 1337 } // namespace options2 | 1338 } // namespace options2 |
| OLD | NEW |