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/browser_options_handler.h" | 5 #include "chrome/browser/ui/webui/options2/browser_options_handler.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 #include "ui/base/l10n/l10n_util.h" | 77 #include "ui/base/l10n/l10n_util.h" |
78 | 78 |
79 #if !defined(OS_CHROMEOS) | 79 #if !defined(OS_CHROMEOS) |
80 #include "chrome/browser/printing/cloud_print/cloud_print_setup_handler.h" | 80 #include "chrome/browser/printing/cloud_print/cloud_print_setup_handler.h" |
81 #include "chrome/browser/ui/webui/options2/advanced_options_utils.h" | 81 #include "chrome/browser/ui/webui/options2/advanced_options_utils.h" |
82 #endif | 82 #endif |
83 | 83 |
84 #if defined(OS_CHROMEOS) | 84 #if defined(OS_CHROMEOS) |
85 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" | 85 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" |
86 #include "chrome/browser/chromeos/cros_settings.h" | 86 #include "chrome/browser/chromeos/cros_settings.h" |
87 #include "chrome/browser/chromeos/extensions/wallpaper_manager_api.h" | 87 #include "chrome/browser/chromeos/extensions/wallpaper_private_api.h" |
88 #include "chrome/browser/chromeos/login/user_manager.h" | 88 #include "chrome/browser/chromeos/login/user_manager.h" |
89 #include "chrome/browser/chromeos/options/take_photo_dialog.h" | 89 #include "chrome/browser/chromeos/options/take_photo_dialog.h" |
90 #include "chrome/browser/chromeos/system_settings_provider.h" | 90 #include "chrome/browser/chromeos/system_settings_provider.h" |
91 #include "chrome/browser/ui/browser_window.h" | 91 #include "chrome/browser/ui/browser_window.h" |
92 #include "ui/gfx/image/image_skia.h" | 92 #include "ui/gfx/image/image_skia.h" |
93 #endif // defined(OS_CHROMEOS) | 93 #endif // defined(OS_CHROMEOS) |
94 | 94 |
95 #if defined(OS_WIN) | 95 #if defined(OS_WIN) |
96 #include "chrome/installer/util/auto_launch_util.h" | 96 #include "chrome/installer/util/auto_launch_util.h" |
97 #endif // defined(OS_WIN) | 97 #endif // defined(OS_WIN) |
(...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1453 } | 1453 } |
1454 | 1454 |
1455 void BrowserOptionsHandler::SetupSSLConfigSettings() { | 1455 void BrowserOptionsHandler::SetupSSLConfigSettings() { |
1456 base::FundamentalValue checked(rev_checking_enabled_.GetValue()); | 1456 base::FundamentalValue checked(rev_checking_enabled_.GetValue()); |
1457 base::FundamentalValue disabled(rev_checking_enabled_.IsManaged()); | 1457 base::FundamentalValue disabled(rev_checking_enabled_.IsManaged()); |
1458 web_ui()->CallJavascriptFunction( | 1458 web_ui()->CallJavascriptFunction( |
1459 "BrowserOptions.setCheckRevocationCheckboxState", checked, disabled); | 1459 "BrowserOptions.setCheckRevocationCheckboxState", checked, disabled); |
1460 } | 1460 } |
1461 | 1461 |
1462 } // namespace options2 | 1462 } // namespace options2 |
OLD | NEW |