Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: chrome/browser/ui/browser.cc

Issue 7618048: Move the core download files to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser.h" 5 #include "chrome/browser/ui/browser.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #include <shellapi.h> 9 #include <shellapi.h>
10 #endif // OS_WIN 10 #endif // OS_WIN
(...skipping 15 matching lines...) Expand all
26 #include "chrome/app/chrome_command_ids.h" 26 #include "chrome/app/chrome_command_ids.h"
27 #include "chrome/browser/autofill/autofill_manager.h" 27 #include "chrome/browser/autofill/autofill_manager.h"
28 #include "chrome/browser/background/background_contents_service.h" 28 #include "chrome/browser/background/background_contents_service.h"
29 #include "chrome/browser/bookmarks/bookmark_model.h" 29 #include "chrome/browser/bookmarks/bookmark_model.h"
30 #include "chrome/browser/bookmarks/bookmark_utils.h" 30 #include "chrome/browser/bookmarks/bookmark_utils.h"
31 #include "chrome/browser/browser_process.h" 31 #include "chrome/browser/browser_process.h"
32 #include "chrome/browser/browser_shutdown.h" 32 #include "chrome/browser/browser_shutdown.h"
33 #include "chrome/browser/character_encoding.h" 33 #include "chrome/browser/character_encoding.h"
34 #include "chrome/browser/debugger/devtools_toggle_action.h" 34 #include "chrome/browser/debugger/devtools_toggle_action.h"
35 #include "chrome/browser/debugger/devtools_window.h" 35 #include "chrome/browser/debugger/devtools_window.h"
36 #include "chrome/browser/download/download_item.h"
37 #include "chrome/browser/download/download_item_model.h" 36 #include "chrome/browser/download/download_item_model.h"
38 #include "chrome/browser/download/download_manager.h"
39 #include "chrome/browser/download/download_started_animation.h" 37 #include "chrome/browser/download/download_started_animation.h"
40 #include "chrome/browser/extensions/crx_installer.h" 38 #include "chrome/browser/extensions/crx_installer.h"
41 #include "chrome/browser/extensions/extension_browser_event_router.h" 39 #include "chrome/browser/extensions/extension_browser_event_router.h"
42 #include "chrome/browser/extensions/extension_disabled_infobar_delegate.h" 40 #include "chrome/browser/extensions/extension_disabled_infobar_delegate.h"
43 #include "chrome/browser/extensions/extension_host.h" 41 #include "chrome/browser/extensions/extension_host.h"
44 #include "chrome/browser/extensions/extension_prefs.h" 42 #include "chrome/browser/extensions/extension_prefs.h"
45 #include "chrome/browser/extensions/extension_service.h" 43 #include "chrome/browser/extensions/extension_service.h"
46 #include "chrome/browser/extensions/extension_tab_helper.h" 44 #include "chrome/browser/extensions/extension_tab_helper.h"
47 #include "chrome/browser/extensions/extension_tabs_module.h" 45 #include "chrome/browser/extensions/extension_tabs_module.h"
48 #include "chrome/browser/favicon/favicon_tab_helper.h" 46 #include "chrome/browser/favicon/favicon_tab_helper.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 #include "chrome/common/chrome_notification_types.h" 103 #include "chrome/common/chrome_notification_types.h"
106 #include "chrome/common/chrome_switches.h" 104 #include "chrome/common/chrome_switches.h"
107 #include "chrome/common/extensions/extension.h" 105 #include "chrome/common/extensions/extension.h"
108 #include "chrome/common/extensions/extension_constants.h" 106 #include "chrome/common/extensions/extension_constants.h"
109 #include "chrome/common/pref_names.h" 107 #include "chrome/common/pref_names.h"
110 #include "chrome/common/profiling.h" 108 #include "chrome/common/profiling.h"
111 #include "chrome/common/url_constants.h" 109 #include "chrome/common/url_constants.h"
112 #include "chrome/common/web_apps.h" 110 #include "chrome/common/web_apps.h"
113 #include "content/browser/browser_url_handler.h" 111 #include "content/browser/browser_url_handler.h"
114 #include "content/browser/debugger/devtools_manager.h" 112 #include "content/browser/debugger/devtools_manager.h"
113 #include "content/browser/download/download_item.h"
114 #include "content/browser/download/download_manager.h"
115 #include "content/browser/download/save_package.h" 115 #include "content/browser/download/save_package.h"
116 #include "content/browser/host_zoom_map.h" 116 #include "content/browser/host_zoom_map.h"
117 #include "content/browser/renderer_host/render_view_host.h" 117 #include "content/browser/renderer_host/render_view_host.h"
118 #include "content/browser/site_instance.h" 118 #include "content/browser/site_instance.h"
119 #include "content/browser/tab_contents/interstitial_page.h" 119 #include "content/browser/tab_contents/interstitial_page.h"
120 #include "content/browser/tab_contents/navigation_controller.h" 120 #include "content/browser/tab_contents/navigation_controller.h"
121 #include "content/browser/tab_contents/navigation_entry.h" 121 #include "content/browser/tab_contents/navigation_entry.h"
122 #include "content/browser/tab_contents/tab_contents_view.h" 122 #include "content/browser/tab_contents/tab_contents_view.h"
123 #include "content/browser/user_metrics.h" 123 #include "content/browser/user_metrics.h"
124 #include "content/common/content_restriction.h" 124 #include "content/common/content_restriction.h"
(...skipping 4711 matching lines...) Expand 10 before | Expand all | Expand 10 after
4836 } 4836 }
4837 4837
4838 void Browser::ShowSyncSetup() { 4838 void Browser::ShowSyncSetup() {
4839 ProfileSyncService* service = 4839 ProfileSyncService* service =
4840 profile()->GetOriginalProfile()->GetProfileSyncService(); 4840 profile()->GetOriginalProfile()->GetProfileSyncService();
4841 if (service->HasSyncSetupCompleted()) 4841 if (service->HasSyncSetupCompleted())
4842 ShowOptionsTab(chrome::kSyncSetupSubPage); 4842 ShowOptionsTab(chrome::kSyncSetupSubPage);
4843 else 4843 else
4844 service->ShowLoginDialog(); 4844 service->ShowLoginDialog();
4845 } 4845 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698