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

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

Issue 8346017: Move content_browser_client.h to public, and while at it, move (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed a file post merge. Created 9 years, 2 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 "content/browser/tab_contents/tab_contents.h" 5 #include "content/browser/tab_contents/tab_contents.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
11 #include "base/metrics/stats_counters.h" 11 #include "base/metrics/stats_counters.h"
12 #include "base/string16.h" 12 #include "base/string16.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/time.h" 14 #include "base/time.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "content/browser/browser_context.h" 16 #include "content/browser/browser_context.h"
17 #include "content/browser/child_process_security_policy.h" 17 #include "content/browser/child_process_security_policy.h"
18 #include "content/browser/content_browser_client.h"
19 #include "content/browser/debugger/devtools_manager.h" 18 #include "content/browser/debugger/devtools_manager.h"
20 #include "content/browser/download/download_manager.h" 19 #include "content/browser/download/download_manager.h"
21 #include "content/browser/download/download_stats.h" 20 #include "content/browser/download/download_stats.h"
22 #include "content/browser/host_zoom_map.h" 21 #include "content/browser/host_zoom_map.h"
23 #include "content/browser/in_process_webkit/session_storage_namespace.h" 22 #include "content/browser/in_process_webkit/session_storage_namespace.h"
24 #include "content/browser/load_from_memory_cache_details.h" 23 #include "content/browser/load_from_memory_cache_details.h"
25 #include "content/browser/load_notification_details.h" 24 #include "content/browser/load_notification_details.h"
26 #include "content/browser/renderer_host/render_process_host.h" 25 #include "content/browser/renderer_host/render_process_host.h"
27 #include "content/browser/renderer_host/render_view_host.h" 26 #include "content/browser/renderer_host/render_view_host.h"
28 #include "content/browser/renderer_host/render_widget_host_view.h" 27 #include "content/browser/renderer_host/render_widget_host_view.h"
29 #include "content/browser/renderer_host/resource_dispatcher_host.h" 28 #include "content/browser/renderer_host/resource_dispatcher_host.h"
30 #include "content/browser/renderer_host/resource_request_details.h" 29 #include "content/browser/renderer_host/resource_request_details.h"
31 #include "content/browser/site_instance.h" 30 #include "content/browser/site_instance.h"
32 #include "content/browser/tab_contents/interstitial_page.h" 31 #include "content/browser/tab_contents/interstitial_page.h"
33 #include "content/browser/tab_contents/navigation_details.h" 32 #include "content/browser/tab_contents/navigation_details.h"
34 #include "content/browser/tab_contents/navigation_entry.h" 33 #include "content/browser/tab_contents/navigation_entry.h"
35 #include "content/browser/tab_contents/provisional_load_details.h" 34 #include "content/browser/tab_contents/provisional_load_details.h"
36 #include "content/browser/tab_contents/tab_contents_delegate.h" 35 #include "content/browser/tab_contents/tab_contents_delegate.h"
37 #include "content/browser/tab_contents/tab_contents_observer.h" 36 #include "content/browser/tab_contents/tab_contents_observer.h"
38 #include "content/browser/tab_contents/tab_contents_view.h" 37 #include "content/browser/tab_contents/tab_contents_view.h"
39 #include "content/browser/tab_contents/title_updated_details.h" 38 #include "content/browser/tab_contents/title_updated_details.h"
40 #include "content/browser/user_metrics.h" 39 #include "content/browser/user_metrics.h"
41 #include "content/browser/webui/web_ui_factory.h" 40 #include "content/browser/webui/web_ui_factory.h"
42 #include "content/common/content_constants.h" 41 #include "content/common/content_constants.h"
43 #include "content/common/content_restriction.h" 42 #include "content/common/content_restriction.h"
44 #include "content/common/intents_messages.h" 43 #include "content/common/intents_messages.h"
45 #include "content/common/notification_service.h" 44 #include "content/common/notification_service.h"
46 #include "content/common/view_messages.h" 45 #include "content/common/view_messages.h"
46 #include "content/public/browser/content_browser_client.h"
47 #include "content/public/browser/navigation_types.h" 47 #include "content/public/browser/navigation_types.h"
48 #include "content/public/common/bindings_policy.h" 48 #include "content/public/common/bindings_policy.h"
49 #include "content/public/common/url_constants.h" 49 #include "content/public/common/url_constants.h"
50 #include "content/public/common/view_types.h" 50 #include "content/public/common/view_types.h"
51 #include "net/base/net_util.h" 51 #include "net/base/net_util.h"
52 #include "net/url_request/url_request_context_getter.h" 52 #include "net/url_request/url_request_context_getter.h"
53 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 53 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
54 #include "ui/gfx/codec/png_codec.h" 54 #include "ui/gfx/codec/png_codec.h"
55 #include "webkit/glue/password_form.h" 55 #include "webkit/glue/password_form.h"
56 #include "webkit/glue/web_intent_data.h" 56 #include "webkit/glue/web_intent_data.h"
(...skipping 1937 matching lines...) Expand 10 before | Expand all | Expand 10 after
1994 void TabContents::CreateViewAndSetSizeForRVH(RenderViewHost* rvh) { 1994 void TabContents::CreateViewAndSetSizeForRVH(RenderViewHost* rvh) {
1995 RenderWidgetHostView* rwh_view = view()->CreateViewForWidget(rvh); 1995 RenderWidgetHostView* rwh_view = view()->CreateViewForWidget(rvh);
1996 rwh_view->SetSize(view()->GetContainerSize()); 1996 rwh_view->SetSize(view()->GetContainerSize());
1997 } 1997 }
1998 1998
1999 bool TabContents::GotResponseToLockMouseRequest(bool allowed) { 1999 bool TabContents::GotResponseToLockMouseRequest(bool allowed) {
2000 return render_view_host() ? 2000 return render_view_host() ?
2001 render_view_host()->GotResponseToLockMouseRequest(allowed) : false; 2001 render_view_host()->GotResponseToLockMouseRequest(allowed) : false;
2002 } 2002 }
2003 2003
OLDNEW
« no previous file with comments | « content/browser/tab_contents/render_view_host_manager.cc ('k') | content/browser/utility_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698