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

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

Issue 5767004: Cleanup: Remove unneeded includes of chrome/browser/cert_store.h and chrome/b... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « chrome/browser/sync/profile_sync_service_harness.cc ('k') | chrome/browser/ui/browser.cc » ('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) 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"
11 #if defined(OS_MACOSX) 11 #if defined(OS_MACOSX)
12 #include "app/surface/io_surface_support_mac.h" 12 #include "app/surface/io_surface_support_mac.h"
13 #endif 13 #endif
14 #include "app/text_elider.h" 14 #include "app/text_elider.h"
15 #include "base/auto_reset.h" 15 #include "base/auto_reset.h"
16 #include "base/file_version_info.h" 16 #include "base/file_version_info.h"
17 #include "base/i18n/rtl.h" 17 #include "base/i18n/rtl.h"
18 #include "base/metrics/histogram.h" 18 #include "base/metrics/histogram.h"
19 #include "base/process_util.h" 19 #include "base/process_util.h"
20 #include "base/string16.h" 20 #include "base/string16.h"
21 #include "base/string_util.h" 21 #include "base/string_util.h"
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"
31 #include "chrome/browser/character_encoding.h" 30 #include "chrome/browser/character_encoding.h"
32 #include "chrome/browser/content_settings/content_settings_details.h" 31 #include "chrome/browser/content_settings/content_settings_details.h"
33 #include "chrome/browser/content_settings/host_content_settings_map.h" 32 #include "chrome/browser/content_settings/host_content_settings_map.h"
34 #include "chrome/browser/debugger/devtools_manager.h" 33 #include "chrome/browser/debugger/devtools_manager.h"
35 #include "chrome/browser/defaults.h" 34 #include "chrome/browser/defaults.h"
36 #include "chrome/browser/dom_operation_notification_details.h" 35 #include "chrome/browser/dom_operation_notification_details.h"
37 #include "chrome/browser/dom_ui/dom_ui.h" 36 #include "chrome/browser/dom_ui/dom_ui.h"
38 #include "chrome/browser/dom_ui/dom_ui_factory.h" 37 #include "chrome/browser/dom_ui/dom_ui_factory.h"
39 #include "chrome/browser/download/download_item_model.h" 38 #include "chrome/browser/download/download_item_model.h"
40 #include "chrome/browser/download/download_manager.h" 39 #include "chrome/browser/download/download_manager.h"
(...skipping 3256 matching lines...) Expand 10 before | Expand all | Expand 10 after
3297 } 3296 }
3298 3297
3299 void TabContents::SwapInRenderViewHost(RenderViewHost* rvh) { 3298 void TabContents::SwapInRenderViewHost(RenderViewHost* rvh) {
3300 render_manager_.SwapInRenderViewHost(rvh); 3299 render_manager_.SwapInRenderViewHost(rvh);
3301 } 3300 }
3302 3301
3303 void TabContents::CreateViewAndSetSizeForRVH(RenderViewHost* rvh) { 3302 void TabContents::CreateViewAndSetSizeForRVH(RenderViewHost* rvh) {
3304 RenderWidgetHostView* rwh_view = view()->CreateViewForWidget(rvh); 3303 RenderWidgetHostView* rwh_view = view()->CreateViewForWidget(rvh);
3305 rwh_view->SetSize(view()->GetContainerSize()); 3304 rwh_view->SetSize(view()->GetContainerSize());
3306 } 3305 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service_harness.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698