| 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_handler2.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" |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/bind_helpers.h" | 12 #include "base/bind_helpers.h" |
| 13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
| 14 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
| 15 #include "base/path_service.h" | 15 #include "base/path_service.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 #include "content/public/common/page_zoom.h" | 71 #include "content/public/common/page_zoom.h" |
| 72 #include "grit/chromium_strings.h" | 72 #include "grit/chromium_strings.h" |
| 73 #include "grit/generated_resources.h" | 73 #include "grit/generated_resources.h" |
| 74 #include "grit/locale_settings.h" | 74 #include "grit/locale_settings.h" |
| 75 #include "grit/theme_resources.h" | 75 #include "grit/theme_resources.h" |
| 76 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 76 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
| 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_utils2.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/login/user_manager.h" | 87 #include "chrome/browser/chromeos/login/user_manager.h" |
| 88 #include "chrome/browser/chromeos/options/take_photo_dialog.h" | 88 #include "chrome/browser/chromeos/options/take_photo_dialog.h" |
| 89 #include "chrome/browser/chromeos/system_settings_provider.h" | 89 #include "chrome/browser/chromeos/system_settings_provider.h" |
| 90 #include "chrome/browser/ui/browser_window.h" | 90 #include "chrome/browser/ui/browser_window.h" |
| 91 #include "ui/gfx/image/image_skia.h" | 91 #include "ui/gfx/image/image_skia.h" |
| (...skipping 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1445 } | 1445 } |
| 1446 | 1446 |
| 1447 void BrowserOptionsHandler::SetupSSLConfigSettings() { | 1447 void BrowserOptionsHandler::SetupSSLConfigSettings() { |
| 1448 base::FundamentalValue checked(rev_checking_enabled_.GetValue()); | 1448 base::FundamentalValue checked(rev_checking_enabled_.GetValue()); |
| 1449 base::FundamentalValue disabled(rev_checking_enabled_.IsManaged()); | 1449 base::FundamentalValue disabled(rev_checking_enabled_.IsManaged()); |
| 1450 web_ui()->CallJavascriptFunction( | 1450 web_ui()->CallJavascriptFunction( |
| 1451 "BrowserOptions.setCheckRevocationCheckboxState", checked, disabled); | 1451 "BrowserOptions.setCheckRevocationCheckboxState", checked, disabled); |
| 1452 } | 1452 } |
| 1453 | 1453 |
| 1454 } // namespace options2 | 1454 } // namespace options2 |
| OLD | NEW |