| 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" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "chrome/browser/extensions/extensions_service.h" | 24 #include "chrome/browser/extensions/extensions_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/profile.h" | 34 #include "chrome/browser/profiles/profile.h" |
| 35 #include "chrome/browser/safe_browsing/safe_browsing_service.h" | 35 #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
| 36 #include "chrome/browser/shell_integration.h" | 36 #include "chrome/browser/shell_integration.h" |
| 37 #include "chrome/browser/sync/profile_sync_service.h" | 37 #include "chrome/browser/sync/profile_sync_service.h" |
| 38 #include "chrome/browser/sync/sync_ui_util.h" | 38 #include "chrome/browser/sync/sync_ui_util.h" |
| 39 #include "chrome/browser/tab_contents/tab_contents.h" | 39 #include "chrome/browser/tab_contents/tab_contents.h" |
| 40 #include "chrome/browser/ui/browser.h" | 40 #include "chrome/browser/ui/browser.h" |
| 41 #include "chrome/browser/ui/browser_list.h" | 41 #include "chrome/browser/ui/browser_list.h" |
| 42 #import "chrome/browser/ui/cocoa/clear_browsing_data_controller.h" | 42 #import "chrome/browser/ui/cocoa/clear_browsing_data_controller.h" |
| 43 #import "chrome/browser/ui/cocoa/content_settings_dialog_controller.h" | 43 #import "chrome/browser/ui/cocoa/content_settings_dialog_controller.h" |
| 44 #import "chrome/browser/ui/cocoa/custom_home_pages_model.h" | 44 #import "chrome/browser/ui/cocoa/custom_home_pages_model.h" |
| (...skipping 2130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2175 case OPTIONS_PAGE_ADVANCED: | 2175 case OPTIONS_PAGE_ADVANCED: |
| 2176 return underTheHoodView_; | 2176 return underTheHoodView_; |
| 2177 case OPTIONS_PAGE_DEFAULT: | 2177 case OPTIONS_PAGE_DEFAULT: |
| 2178 case OPTIONS_PAGE_COUNT: | 2178 case OPTIONS_PAGE_COUNT: |
| 2179 LOG(DFATAL) << "Invalid page value " << page; | 2179 LOG(DFATAL) << "Invalid page value " << page; |
| 2180 } | 2180 } |
| 2181 return basicsView_; | 2181 return basicsView_; |
| 2182 } | 2182 } |
| 2183 | 2183 |
| 2184 @end | 2184 @end |
| OLD | NEW |