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

Side by Side Diff: chrome/browser/ui/views/tab_contents/tab_contents_container.cc

Issue 6204002: Carnitas: Remove chrome/browser/views, update references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yay, more syncing Created 9 years, 11 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) 2010 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 "chrome/browser/views/tab_contents/tab_contents_container.h" 5 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h"
6 6
7 #include "chrome/browser/renderer_host/render_view_host.h" 7 #include "chrome/browser/renderer_host/render_view_host.h"
8 #include "chrome/browser/renderer_host/render_widget_host_view.h" 8 #include "chrome/browser/renderer_host/render_widget_host_view.h"
9 #include "chrome/browser/tab_contents/interstitial_page.h" 9 #include "chrome/browser/tab_contents/interstitial_page.h"
10 #include "chrome/browser/tab_contents/tab_contents.h" 10 #include "chrome/browser/tab_contents/tab_contents.h"
11 #include "chrome/browser/ui/view_ids.h" 11 #include "chrome/browser/ui/view_ids.h"
12 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container.h" 12 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container.h"
13 #include "chrome/common/notification_details.h" 13 #include "chrome/common/notification_details.h"
14 #include "chrome/common/notification_source.h" 14 #include "chrome/common/notification_source.h"
15 15
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 void TabContentsContainer::RenderWidgetHostViewChanged( 176 void TabContentsContainer::RenderWidgetHostViewChanged(
177 RenderWidgetHostView* old_view, RenderWidgetHostView* new_view) { 177 RenderWidgetHostView* old_view, RenderWidgetHostView* new_view) {
178 // Carry over the reserved rect, if possible. 178 // Carry over the reserved rect, if possible.
179 if (old_view && new_view) { 179 if (old_view && new_view) {
180 new_view->set_reserved_contents_rect(old_view->reserved_contents_rect()); 180 new_view->set_reserved_contents_rect(old_view->reserved_contents_rect());
181 } else { 181 } else {
182 if (reserved_area_delegate_) 182 if (reserved_area_delegate_)
183 reserved_area_delegate_->UpdateReservedContentsRect(this); 183 reserved_area_delegate_->UpdateReservedContentsRect(this);
184 } 184 }
185 } 185 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698