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/options/browser_options_handler.h" | 5 #include "chrome/browser/ui/webui/options/browser_options_handler.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "apps/app_window.h" | 10 #include "apps/app_window.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "chrome/browser/browser_process.h" | 27 #include "chrome/browser/browser_process.h" |
28 #include "chrome/browser/chrome_notification_types.h" | 28 #include "chrome/browser/chrome_notification_types.h" |
29 #include "chrome/browser/chrome_page_zoom.h" | 29 #include "chrome/browser/chrome_page_zoom.h" |
30 #include "chrome/browser/custom_home_pages_table_model.h" | 30 #include "chrome/browser/custom_home_pages_table_model.h" |
31 #include "chrome/browser/download/download_prefs.h" | 31 #include "chrome/browser/download/download_prefs.h" |
32 #include "chrome/browser/gpu/gpu_mode_manager.h" | 32 #include "chrome/browser/gpu/gpu_mode_manager.h" |
33 #include "chrome/browser/lifetime/application_lifetime.h" | 33 #include "chrome/browser/lifetime/application_lifetime.h" |
34 #include "chrome/browser/prefs/session_startup_pref.h" | 34 #include "chrome/browser/prefs/session_startup_pref.h" |
35 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h" | 35 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h" |
36 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.
h" | 36 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.
h" |
37 #include "chrome/browser/profile_resetter/automatic_profile_resetter.h" | |
38 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" | |
39 #include "chrome/browser/profiles/profile.h" | 37 #include "chrome/browser/profiles/profile.h" |
40 #include "chrome/browser/profiles/profile_avatar_icon_util.h" | 38 #include "chrome/browser/profiles/profile_avatar_icon_util.h" |
41 #include "chrome/browser/profiles/profile_info_cache.h" | 39 #include "chrome/browser/profiles/profile_info_cache.h" |
42 #include "chrome/browser/profiles/profile_manager.h" | 40 #include "chrome/browser/profiles/profile_manager.h" |
43 #include "chrome/browser/profiles/profile_metrics.h" | 41 #include "chrome/browser/profiles/profile_metrics.h" |
44 #include "chrome/browser/profiles/profile_shortcut_manager.h" | 42 #include "chrome/browser/profiles/profile_shortcut_manager.h" |
45 #include "chrome/browser/profiles/profile_window.h" | 43 #include "chrome/browser/profiles/profile_window.h" |
46 #include "chrome/browser/profiles/profiles_state.h" | 44 #include "chrome/browser/profiles/profiles_state.h" |
47 #include "chrome/browser/search/hotword_service.h" | 45 #include "chrome/browser/search/hotword_service.h" |
48 #include "chrome/browser/search/hotword_service_factory.h" | 46 #include "chrome/browser/search/hotword_service_factory.h" |
(...skipping 1741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1790 extension_name = base::StringValue( | 1788 extension_name = base::StringValue( |
1791 extension ? extension->name() : std::string()); | 1789 extension ? extension->name() : std::string()); |
1792 web_ui()->CallJavascriptFunction( | 1790 web_ui()->CallJavascriptFunction( |
1793 "BrowserOptions.toggleNewTabPageControlled", | 1791 "BrowserOptions.toggleNewTabPageControlled", |
1794 extension_id, | 1792 extension_id, |
1795 extension_name); | 1793 extension_name); |
1796 #endif // defined(OS_WIN) | 1794 #endif // defined(OS_WIN) |
1797 } | 1795 } |
1798 | 1796 |
1799 } // namespace options | 1797 } // namespace options |
OLD | NEW |