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

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

Issue 21039: Revert my change to get the tree green. Not sure why the tests became flaky.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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/tab_contents/ipc_status_view.cc ('k') | chrome/chrome.xcodeproj/project.pbxproj » ('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/tab_contents/web_contents.h" 5 #include "chrome/browser/tab_contents/web_contents.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/file_version_info.h" 9 #include "base/file_version_info.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "chrome/app/locales/locale_settings.h" 12 #include "chrome/app/locales/locale_settings.h"
13 #include "chrome/browser/browser.h" 13 #include "chrome/browser/browser.h"
14 #include "chrome/browser/dom_operation_notification_details.h" 14 #include "chrome/browser/dom_operation_notification_details.h"
15 #include "chrome/browser/google_util.h" 15 #include "chrome/browser/google_util.h"
16 #include "chrome/browser/js_before_unload_handler.h" 16 #include "chrome/browser/js_before_unload_handler.h"
17 #include "chrome/browser/jsmessage_box_handler.h" 17 #include "chrome/browser/jsmessage_box_handler.h"
18 #include "chrome/browser/load_from_memory_cache_details.h" 18 #include "chrome/browser/load_from_memory_cache_details.h"
19 #include "chrome/browser/profile.h" 19 #include "chrome/browser/profile.h"
20 #include "chrome/browser/renderer_host/render_process_host.h" 20 #include "chrome/browser/renderer_host/render_process_host.h"
21 #include "chrome/browser/tab_contents/provisional_load_details.h" 21 #include "chrome/browser/tab_contents/provisional_load_details.h"
22 #include "chrome/common/chrome_switches.h" 22 #include "chrome/common/chrome_switches.h"
23 #include "chrome/common/l10n_util.h" 23 #include "chrome/common/l10n_util.h"
24 #include "chrome/common/notification_service.h" 24 #include "chrome/common/notification_service.h"
25 #include "chrome/common/pref_names.h" 25 #include "chrome/common/pref_names.h"
26 #include "chrome/common/pref_service.h" 26 #include "chrome/common/pref_service.h"
27 #include "chrome/common/render_messages.h"
28 #include "net/base/mime_util.h" 27 #include "net/base/mime_util.h"
29 #include "net/base/net_errors.h" 28 #include "net/base/net_errors.h"
30 #include "net/base/registry_controlled_domain.h" 29 #include "net/base/registry_controlled_domain.h"
31 #include "webkit/glue/webkit_glue.h" 30 #include "webkit/glue/webkit_glue.h"
32 31
33 #if defined(OS_WIN) 32 #if defined(OS_WIN)
34 // TODO(port): fill these in as we flesh out the implementation of this class 33 // TODO(port): fill these in as we flesh out the implementation of this class
35 #include "chrome/browser/autofill_manager.h" 34 #include "chrome/browser/autofill_manager.h"
36 #include "chrome/browser/bookmarks/bookmark_model.h" 35 #include "chrome/browser/bookmarks/bookmark_model.h"
37 #include "chrome/browser/cache_manager_host.h" 36 #include "chrome/browser/cache_manager_host.h"
(...skipping 1710 matching lines...) Expand 10 before | Expand all | Expand 10 after
1748 // The favicon url isn't valid. This means there really isn't a favicon, 1747 // The favicon url isn't valid. This means there really isn't a favicon,
1749 // or the favicon url wasn't obtained before the load started. This assumes 1748 // or the favicon url wasn't obtained before the load started. This assumes
1750 // the later. 1749 // the later.
1751 // TODO(sky): Need a way to set the favicon that doesn't involve generating 1750 // TODO(sky): Need a way to set the favicon that doesn't involve generating
1752 // its url. 1751 // its url.
1753 new_url->SetFavIconURL(TemplateURL::GenerateFaviconURL(params.referrer)); 1752 new_url->SetFavIconURL(TemplateURL::GenerateFaviconURL(params.referrer));
1754 } 1753 }
1755 new_url->set_safe_for_autoreplace(true); 1754 new_url->set_safe_for_autoreplace(true);
1756 url_model->Add(new_url); 1755 url_model->Add(new_url);
1757 } 1756 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/ipc_status_view.cc ('k') | chrome/chrome.xcodeproj/project.pbxproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698