| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #import "chrome/browser/ui/cocoa/preferences_window_controller.h" | 5 #import "chrome/browser/ui/cocoa/preferences_window_controller.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "app/l10n_util_mac.h" | 10 #include "app/l10n_util_mac.h" |
| 11 #include "app/resource_bundle.h" | 11 #include "app/resource_bundle.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/mac_util.h" | 13 #include "base/mac_util.h" |
| 14 #include "base/mac/scoped_aedesc.h" | 14 #include "base/mac/scoped_aedesc.h" |
| 15 #include "base/string16.h" | 15 #include "base/string16.h" |
| 16 #include "base/string_util.h" | 16 #include "base/string_util.h" |
| 17 #include "base/sys_string_conversions.h" | 17 #include "base/sys_string_conversions.h" |
| 18 #include "chrome/browser/autofill/autofill_dialog.h" | 18 #include "chrome/browser/autofill/autofill_dialog.h" |
| 19 #include "chrome/browser/autofill/autofill_type.h" | 19 #include "chrome/browser/autofill/autofill_type.h" |
| 20 #include "chrome/browser/autofill/personal_data_manager.h" | 20 #include "chrome/browser/autofill/personal_data_manager.h" |
| 21 #include "chrome/browser/browser_process.h" | 21 #include "chrome/browser/browser_process.h" |
| 22 #include "chrome/browser/download/download_manager.h" | 22 #include "chrome/browser/download/download_manager.h" |
| 23 #include "chrome/browser/download/download_prefs.h" | 23 #include "chrome/browser/download/download_prefs.h" |
| 24 #include "chrome/browser/extensions/extensions_service.h" | 24 #include "chrome/browser/extensions/extension_service.h" |
| 25 #include "chrome/browser/google/google_util.h" | 25 #include "chrome/browser/google/google_util.h" |
| 26 #include "chrome/browser/instant/instant_confirm_dialog.h" | 26 #include "chrome/browser/instant/instant_confirm_dialog.h" |
| 27 #include "chrome/browser/instant/instant_controller.h" | 27 #include "chrome/browser/instant/instant_controller.h" |
| 28 #include "chrome/browser/metrics/metrics_service.h" | 28 #include "chrome/browser/metrics/metrics_service.h" |
| 29 #include "chrome/browser/metrics/user_metrics.h" | 29 #include "chrome/browser/metrics/user_metrics.h" |
| 30 #include "chrome/browser/net/url_fixer_upper.h" | 30 #include "chrome/browser/net/url_fixer_upper.h" |
| 31 #include "chrome/browser/policy/managed_prefs_banner_base.h" | 31 #include "chrome/browser/policy/managed_prefs_banner_base.h" |
| 32 #include "chrome/browser/prefs/pref_service.h" | 32 #include "chrome/browser/prefs/pref_service.h" |
| 33 #include "chrome/browser/prefs/session_startup_pref.h" | 33 #include "chrome/browser/prefs/session_startup_pref.h" |
| 34 #include "chrome/browser/profiles/profile.h" | 34 #include "chrome/browser/profiles/profile.h" |
| (...skipping 2126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2161 case OPTIONS_PAGE_ADVANCED: | 2161 case OPTIONS_PAGE_ADVANCED: |
| 2162 return underTheHoodView_; | 2162 return underTheHoodView_; |
| 2163 case OPTIONS_PAGE_DEFAULT: | 2163 case OPTIONS_PAGE_DEFAULT: |
| 2164 case OPTIONS_PAGE_COUNT: | 2164 case OPTIONS_PAGE_COUNT: |
| 2165 LOG(DFATAL) << "Invalid page value " << page; | 2165 LOG(DFATAL) << "Invalid page value " << page; |
| 2166 } | 2166 } |
| 2167 return basicsView_; | 2167 return basicsView_; |
| 2168 } | 2168 } |
| 2169 | 2169 |
| 2170 @end | 2170 @end |
| OLD | NEW |