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

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

Issue 8081019: Remove unused RenderViewHostManager::SwapInRenderViewHost() and TabContents::SwapInRenderViewHost() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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
« no previous file with comments | « content/browser/tab_contents/tab_contents.h ('k') | no next file » | 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) 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"
(...skipping 1937 matching lines...) Expand 10 before | Expand all | Expand 10 after
1948 1948
1949 void TabContents::OnDialogShown() { 1949 void TabContents::OnDialogShown() {
1950 Activate(); 1950 Activate();
1951 } 1951 }
1952 1952
1953 void TabContents::set_encoding(const std::string& encoding) { 1953 void TabContents::set_encoding(const std::string& encoding) {
1954 encoding_ = content::GetContentClient()->browser()-> 1954 encoding_ = content::GetContentClient()->browser()->
1955 GetCanonicalEncodingNameByAliasName(encoding); 1955 GetCanonicalEncodingNameByAliasName(encoding);
1956 } 1956 }
1957 1957
1958 void TabContents::SwapInRenderViewHost(RenderViewHost* rvh) {
1959 render_manager_.SwapInRenderViewHost(rvh);
1960 }
1961
1962 void TabContents::CreateViewAndSetSizeForRVH(RenderViewHost* rvh) { 1958 void TabContents::CreateViewAndSetSizeForRVH(RenderViewHost* rvh) {
1963 RenderWidgetHostView* rwh_view = view()->CreateViewForWidget(rvh); 1959 RenderWidgetHostView* rwh_view = view()->CreateViewForWidget(rvh);
1964 rwh_view->SetSize(view()->GetContainerSize()); 1960 rwh_view->SetSize(view()->GetContainerSize());
1965 } 1961 }
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698