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

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

Issue 3040: Move the Save Page code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/browser.vcproj » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/browser.h" 5 #include "chrome/browser/browser.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <shellapi.h> 8 #include <shellapi.h>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/idle_timer.h" 11 #include "base/idle_timer.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "chrome/app/chrome_dll_resource.h" 14 #include "chrome/app/chrome_dll_resource.h"
15 #include "chrome/browser/browser_list.h" 15 #include "chrome/browser/browser_list.h"
16 #include "chrome/browser/browser_process.h" 16 #include "chrome/browser/browser_process.h"
17 #include "chrome/browser/browser_shutdown.h" 17 #include "chrome/browser/browser_shutdown.h"
18 #include "chrome/browser/browser_url_handler.h" 18 #include "chrome/browser/browser_url_handler.h"
19 #include "chrome/browser/browser_window.h" 19 #include "chrome/browser/browser_window.h"
20 #include "chrome/browser/cert_store.h" 20 #include "chrome/browser/cert_store.h"
21 #include "chrome/browser/debugger/debugger_window.h" 21 #include "chrome/browser/debugger/debugger_window.h"
22 #include "chrome/browser/dom_ui/new_tab_ui.h" 22 #include "chrome/browser/dom_ui/new_tab_ui.h"
23 #include "chrome/browser/download/save_package.h"
23 #include "chrome/browser/frame_util.h" 24 #include "chrome/browser/frame_util.h"
24 #include "chrome/browser/navigation_controller.h" 25 #include "chrome/browser/navigation_controller.h"
25 #include "chrome/browser/navigation_entry.h" 26 #include "chrome/browser/navigation_entry.h"
26 #include "chrome/browser/plugin_process_host.h" 27 #include "chrome/browser/plugin_process_host.h"
27 #include "chrome/browser/plugin_service.h" 28 #include "chrome/browser/plugin_service.h"
28 #include "chrome/browser/profile.h" 29 #include "chrome/browser/profile.h"
29 #include "chrome/browser/save_package.h"
30 #include "chrome/browser/ssl_error_info.h" 30 #include "chrome/browser/ssl_error_info.h"
31 #include "chrome/browser/site_instance.h" 31 #include "chrome/browser/site_instance.h"
32 #include "chrome/browser/url_fixer_upper.h" 32 #include "chrome/browser/url_fixer_upper.h"
33 #include "chrome/browser/user_metrics.h" 33 #include "chrome/browser/user_metrics.h"
34 #include "chrome/browser/view_ids.h" 34 #include "chrome/browser/view_ids.h"
35 #include "chrome/browser/views/download_shelf_view.h" 35 #include "chrome/browser/views/download_shelf_view.h"
36 #include "chrome/browser/views/go_button.h" 36 #include "chrome/browser/views/go_button.h"
37 #include "chrome/browser/views/bookmark_bar_view.h" 37 #include "chrome/browser/views/bookmark_bar_view.h"
38 #include "chrome/browser/views/html_dialog_view.h" 38 #include "chrome/browser/views/html_dialog_view.h"
39 #include "chrome/browser/views/location_bar_view.h" 39 #include "chrome/browser/views/location_bar_view.h"
(...skipping 1810 matching lines...) Expand 10 before | Expand all | Expand 10 after
1850 void Browser::FormatTitleForDisplay(std::wstring* title) { 1850 void Browser::FormatTitleForDisplay(std::wstring* title) {
1851 size_t current_index = 0; 1851 size_t current_index = 0;
1852 size_t match_index; 1852 size_t match_index;
1853 while ((match_index = title->find(L'\n', current_index)) != 1853 while ((match_index = title->find(L'\n', current_index)) !=
1854 std::wstring::npos) { 1854 std::wstring::npos) {
1855 title->replace(match_index, 1, L""); 1855 title->replace(match_index, 1, L"");
1856 current_index = match_index; 1856 current_index = match_index;
1857 } 1857 }
1858 } 1858 }
1859 1859
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/browser.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698