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

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

Issue 5582002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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) 2010 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/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/view_ids.h" 11 #include "chrome/browser/ui/view_ids.h"
12 #include "chrome/browser/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_service.h" 13 #include "chrome/common/notification_service.h"
14 14
15 #if defined(TOUCH_UI) 15 #if defined(TOUCH_UI)
16 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk .h" 16 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk .h"
17 #include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h" 17 #include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h"
18 #include "views/border.h" 18 #include "views/border.h"
19 #include "views/fill_layout.h" 19 #include "views/fill_layout.h"
20 #endif 20 #endif
21 21
22 //////////////////////////////////////////////////////////////////////////////// 22 ////////////////////////////////////////////////////////////////////////////////
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 void TabContentsContainer::RenderWidgetHostViewChanged( 172 void TabContentsContainer::RenderWidgetHostViewChanged(
173 RenderWidgetHostView* old_view, RenderWidgetHostView* new_view) { 173 RenderWidgetHostView* old_view, RenderWidgetHostView* new_view) {
174 // Carry over the reserved rect, if possible. 174 // Carry over the reserved rect, if possible.
175 if (old_view && new_view) { 175 if (old_view && new_view) {
176 new_view->set_reserved_contents_rect(old_view->reserved_contents_rect()); 176 new_view->set_reserved_contents_rect(old_view->reserved_contents_rect());
177 } else { 177 } else {
178 if (reserved_area_delegate_) 178 if (reserved_area_delegate_)
179 reserved_area_delegate_->UpdateReservedContentsRect(this); 179 reserved_area_delegate_->UpdateReservedContentsRect(this);
180 } 180 }
181 } 181 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tab_contents/native_tab_contents_container_win.cc ('k') | chrome/browser/ui/views/tabs/base_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698