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

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

Issue 5367006: Refactor: move HostContentSettingsMap to content_settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 10 years 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) 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 #include "chrome/browser/tab_contents/tab_contents.h" 5 #include "chrome/browser/tab_contents/tab_contents.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
(...skipping 11 matching lines...) Expand all
22 #include "base/utf_string_conversions.h" 22 #include "base/utf_string_conversions.h"
23 #include "base/time.h" 23 #include "base/time.h"
24 #include "chrome/browser/autocomplete_history_manager.h" 24 #include "chrome/browser/autocomplete_history_manager.h"
25 #include "chrome/browser/autofill/autofill_manager.h" 25 #include "chrome/browser/autofill/autofill_manager.h"
26 #include "chrome/browser/blocked_content_container.h" 26 #include "chrome/browser/blocked_content_container.h"
27 #include "chrome/browser/bookmarks/bookmark_model.h" 27 #include "chrome/browser/bookmarks/bookmark_model.h"
28 #include "chrome/browser/browser_process.h" 28 #include "chrome/browser/browser_process.h"
29 #include "chrome/browser/browser_shutdown.h" 29 #include "chrome/browser/browser_shutdown.h"
30 #include "chrome/browser/cert_store.h" 30 #include "chrome/browser/cert_store.h"
31 #include "chrome/browser/character_encoding.h" 31 #include "chrome/browser/character_encoding.h"
32 #include "chrome/browser/content_settings/host_content_settings_map.h"
32 #include "chrome/browser/debugger/devtools_manager.h" 33 #include "chrome/browser/debugger/devtools_manager.h"
33 #include "chrome/browser/defaults.h" 34 #include "chrome/browser/defaults.h"
34 #include "chrome/browser/dom_operation_notification_details.h" 35 #include "chrome/browser/dom_operation_notification_details.h"
35 #include "chrome/browser/dom_ui/dom_ui.h" 36 #include "chrome/browser/dom_ui/dom_ui.h"
36 #include "chrome/browser/dom_ui/dom_ui_factory.h" 37 #include "chrome/browser/dom_ui/dom_ui_factory.h"
37 #include "chrome/browser/download/download_item_model.h" 38 #include "chrome/browser/download/download_item_model.h"
38 #include "chrome/browser/download/download_manager.h" 39 #include "chrome/browser/download/download_manager.h"
39 #include "chrome/browser/download/download_request_limiter.h" 40 #include "chrome/browser/download/download_request_limiter.h"
40 #include "chrome/browser/external_protocol_handler.h" 41 #include "chrome/browser/external_protocol_handler.h"
41 #include "chrome/browser/extensions/extensions_service.h" 42 #include "chrome/browser/extensions/extensions_service.h"
42 #include "chrome/browser/history/history_types.h" 43 #include "chrome/browser/history/history_types.h"
43 #include "chrome/browser/history/top_sites.h" 44 #include "chrome/browser/history/top_sites.h"
44 #include "chrome/browser/host_zoom_map.h" 45 #include "chrome/browser/host_zoom_map.h"
45 #include "chrome/browser/favicon_service.h" 46 #include "chrome/browser/favicon_service.h"
46 #include "chrome/browser/file_select_helper.h" 47 #include "chrome/browser/file_select_helper.h"
47 #include "chrome/browser/find_bar_state.h" 48 #include "chrome/browser/find_bar_state.h"
48 #include "chrome/browser/google/google_util.h" 49 #include "chrome/browser/google/google_util.h"
49 #include "chrome/browser/host_content_settings_map.h"
50 #include "chrome/browser/hung_renderer_dialog.h" 50 #include "chrome/browser/hung_renderer_dialog.h"
51 #include "chrome/browser/in_process_webkit/session_storage_namespace.h" 51 #include "chrome/browser/in_process_webkit/session_storage_namespace.h"
52 #include "chrome/browser/message_box_handler.h" 52 #include "chrome/browser/message_box_handler.h"
53 #include "chrome/browser/load_from_memory_cache_details.h" 53 #include "chrome/browser/load_from_memory_cache_details.h"
54 #include "chrome/browser/load_notification_details.h" 54 #include "chrome/browser/load_notification_details.h"
55 #include "chrome/browser/metrics/metric_event_duration_details.h" 55 #include "chrome/browser/metrics/metric_event_duration_details.h"
56 #include "chrome/browser/modal_html_dialog_delegate.h" 56 #include "chrome/browser/modal_html_dialog_delegate.h"
57 #include "chrome/browser/omnibox_search_hint.h" 57 #include "chrome/browser/omnibox_search_hint.h"
58 #include "chrome/browser/platform_util.h" 58 #include "chrome/browser/platform_util.h"
59 #include "chrome/browser/plugin_installer.h" 59 #include "chrome/browser/plugin_installer.h"
(...skipping 3180 matching lines...) Expand 10 before | Expand all | Expand 10 after
3240 } 3240 }
3241 3241
3242 void TabContents::set_encoding(const std::string& encoding) { 3242 void TabContents::set_encoding(const std::string& encoding) {
3243 encoding_ = CharacterEncoding::GetCanonicalEncodingNameByAliasName(encoding); 3243 encoding_ = CharacterEncoding::GetCanonicalEncodingNameByAliasName(encoding);
3244 } 3244 }
3245 3245
3246 void TabContents::SetAppIcon(const SkBitmap& app_icon) { 3246 void TabContents::SetAppIcon(const SkBitmap& app_icon) {
3247 app_icon_ = app_icon; 3247 app_icon_ = app_icon;
3248 NotifyNavigationStateChanged(INVALIDATE_TITLE); 3248 NotifyNavigationStateChanged(INVALIDATE_TITLE);
3249 } 3249 }
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/database_dispatcher_host.cc ('k') | chrome/browser/ui/views/content_setting_bubble_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698