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

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

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 using content::DevToolsManagerImpl; 116 using content::DevToolsManagerImpl;
117 using content::DownloadItem; 117 using content::DownloadItem;
118 using content::DownloadManager; 118 using content::DownloadManager;
119 using content::GlobalRequestID; 119 using content::GlobalRequestID;
120 using content::HostZoomMap; 120 using content::HostZoomMap;
121 using content::InterstitialPage; 121 using content::InterstitialPage;
122 using content::NavigationController; 122 using content::NavigationController;
123 using content::NavigationEntry; 123 using content::NavigationEntry;
124 using content::NavigationEntryImpl; 124 using content::NavigationEntryImpl;
125 using content::OpenURLParams; 125 using content::OpenURLParams;
126 using content::RenderViewHost;
127 using content::RenderViewHostImpl;
126 using content::RenderViewHostDelegate; 128 using content::RenderViewHostDelegate;
129 using content::RenderWidgetHost;
127 using content::RenderWidgetHostView; 130 using content::RenderWidgetHostView;
128 using content::RenderWidgetHostViewPort; 131 using content::RenderWidgetHostViewPort;
129 using content::SessionStorageNamespace; 132 using content::SessionStorageNamespace;
130 using content::SiteInstance; 133 using content::SiteInstance;
131 using content::SSLStatus; 134 using content::SSLStatus;
132 using content::UserMetricsAction; 135 using content::UserMetricsAction;
133 using content::WebContents; 136 using content::WebContents;
134 using content::WebContentsObserver; 137 using content::WebContentsObserver;
135 using content::WebUI; 138 using content::WebUI;
136 using content::WebUIController; 139 using content::WebUIController;
(...skipping 2370 matching lines...) Expand 10 before | Expand all | Expand 10 after
2507 void TabContents::CreateViewAndSetSizeForRVH(RenderViewHost* rvh) { 2510 void TabContents::CreateViewAndSetSizeForRVH(RenderViewHost* rvh) {
2508 RenderWidgetHostView* rwh_view = GetView()->CreateViewForWidget(rvh); 2511 RenderWidgetHostView* rwh_view = GetView()->CreateViewForWidget(rvh);
2509 // Can be NULL during tests. 2512 // Can be NULL during tests.
2510 if (rwh_view) 2513 if (rwh_view)
2511 rwh_view->SetSize(GetView()->GetContainerSize()); 2514 rwh_view->SetSize(GetView()->GetContainerSize());
2512 } 2515 }
2513 2516
2514 RenderViewHostImpl* TabContents::GetRenderViewHostImpl() { 2517 RenderViewHostImpl* TabContents::GetRenderViewHostImpl() {
2515 return static_cast<RenderViewHostImpl*>(GetRenderViewHost()); 2518 return static_cast<RenderViewHostImpl*>(GetRenderViewHost());
2516 } 2519 }
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents.h ('k') | content/browser/tab_contents/tab_contents_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698