| OLD | NEW |
| 1 // Copyright (c) 2011 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/ui/webui/plugins_ui.h" | 5 #include "chrome/browser/ui/webui/plugins_ui.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "chrome/browser/ui/browser_window.h" | 24 #include "chrome/browser/ui/browser_window.h" |
| 25 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" | 25 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" |
| 26 #include "chrome/browser/ui/webui/chrome_web_ui_data_source.h" | 26 #include "chrome/browser/ui/webui/chrome_web_ui_data_source.h" |
| 27 #include "chrome/common/chrome_content_client.h" | 27 #include "chrome/common/chrome_content_client.h" |
| 28 #include "chrome/common/chrome_notification_types.h" | 28 #include "chrome/common/chrome_notification_types.h" |
| 29 #include "chrome/common/chrome_paths.h" | 29 #include "chrome/common/chrome_paths.h" |
| 30 #include "chrome/common/pref_names.h" | 30 #include "chrome/common/pref_names.h" |
| 31 #include "chrome/common/url_constants.h" | 31 #include "chrome/common/url_constants.h" |
| 32 #include "content/browser/plugin_service.h" | 32 #include "content/browser/plugin_service.h" |
| 33 #include "content/browser/tab_contents/tab_contents.h" | 33 #include "content/browser/tab_contents/tab_contents.h" |
| 34 #include "content/common/notification_service.h" | 34 #include "content/public/browser/notification_source.h" |
| 35 #include "grit/browser_resources.h" | 35 #include "grit/browser_resources.h" |
| 36 #include "grit/generated_resources.h" | 36 #include "grit/generated_resources.h" |
| 37 #include "grit/theme_resources.h" | 37 #include "grit/theme_resources.h" |
| 38 #include "grit/theme_resources_standard.h" | 38 #include "grit/theme_resources_standard.h" |
| 39 #include "ui/base/resource/resource_bundle.h" | 39 #include "ui/base/resource/resource_bundle.h" |
| 40 #include "webkit/plugins/npapi/plugin_group.h" | 40 #include "webkit/plugins/npapi/plugin_group.h" |
| 41 | 41 |
| 42 using webkit::npapi::PluginGroup; | 42 using webkit::npapi::PluginGroup; |
| 43 using webkit::WebPluginInfo; | 43 using webkit::WebPluginInfo; |
| 44 | 44 |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 | 370 |
| 371 // static | 371 // static |
| 372 void PluginsUI::RegisterUserPrefs(PrefService* prefs) { | 372 void PluginsUI::RegisterUserPrefs(PrefService* prefs) { |
| 373 prefs->RegisterBooleanPref(prefs::kPluginsShowDetails, | 373 prefs->RegisterBooleanPref(prefs::kPluginsShowDetails, |
| 374 false, | 374 false, |
| 375 PrefService::UNSYNCABLE_PREF); | 375 PrefService::UNSYNCABLE_PREF); |
| 376 prefs->RegisterBooleanPref(prefs::kPluginsShowSetReaderDefaultInfobar, | 376 prefs->RegisterBooleanPref(prefs::kPluginsShowSetReaderDefaultInfobar, |
| 377 true, | 377 true, |
| 378 PrefService::UNSYNCABLE_PREF); | 378 PrefService::UNSYNCABLE_PREF); |
| 379 } | 379 } |
| OLD | NEW |