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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 10827055: Move web_contents from SearchViewController to SearchTabHelper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 5274cff7c634abf3288f605b3343a568330f84e0..dcc0d71f5749729795d3d6c5f1f1b0faa9881b30 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -2495,7 +2495,6 @@ void BrowserView::ProcessTabSelected(TabContents* new_contents) {
if (search_view_controller_.get())
search_view_controller_->SetTabContents(new_contents);
#endif
- RestackLocationBarContainer();
UpdateDevToolsForContents(new_contents);
if (!browser_->tab_strip_model()->closing_all() && GetWidget()->IsActive() &&
@@ -2509,6 +2508,7 @@ void BrowserView::ProcessTabSelected(TabContents* new_contents) {
UpdateTitleBar();
// No need to update Toolbar because it's already updated in
// browser.cc.
+ RestackLocationBarContainer();
sky 2012/07/28 02:27:53 The comment on 2509-2510 looks like it applies to
dhollowa 2012/07/31 17:03:46 Done.
}
gfx::Size BrowserView::GetResizeCornerSize() const {

Powered by Google App Engine
This is Rietveld 408576698