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

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

Issue 9420007: Move RenderWidgetHostView into content namespace. Fix include paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_chromeos_gtk build issue not caught by trybots. Created 8 years, 10 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 "chrome/browser/ui/views/tab_contents/tab_contents_container.h" 5 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "chrome/browser/ui/view_ids.h" 9 #include "chrome/browser/ui/view_ids.h"
10 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container.h" 10 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container.h"
11 #include "content/browser/renderer_host/render_view_host.h" 11 #include "content/browser/renderer_host/render_view_host.h"
12 #include "content/browser/renderer_host/render_widget_host_view.h"
13 #include "content/public/browser/notification_details.h" 12 #include "content/public/browser/notification_details.h"
14 #include "content/public/browser/notification_source.h" 13 #include "content/public/browser/notification_source.h"
15 #include "content/public/browser/notification_types.h" 14 #include "content/public/browser/notification_types.h"
15 #include "content/public/browser/render_widget_host_view.h"
16 #include "content/public/browser/web_contents.h" 16 #include "content/public/browser/web_contents.h"
17 #include "ui/base/accessibility/accessible_view_state.h" 17 #include "ui/base/accessibility/accessible_view_state.h"
18 18
19 using content::NavigationController; 19 using content::NavigationController;
20 using content::WebContents; 20 using content::WebContents;
21 21
22 //////////////////////////////////////////////////////////////////////////////// 22 ////////////////////////////////////////////////////////////////////////////////
23 // TabContentsContainer, public: 23 // TabContentsContainer, public:
24 24
25 TabContentsContainer::TabContentsContainer() 25 TabContentsContainer::TabContentsContainer()
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 RenderViewHost* new_host) { 178 RenderViewHost* new_host) {
179 native_container_->RenderViewHostChanged(old_host, new_host); 179 native_container_->RenderViewHostChanged(old_host, new_host);
180 } 180 }
181 181
182 void TabContentsContainer::TabContentsDestroyed(WebContents* contents) { 182 void TabContentsContainer::TabContentsDestroyed(WebContents* contents) {
183 // Sometimes, a TabContents is destroyed before we know about it. This allows 183 // Sometimes, a TabContents is destroyed before we know about it. This allows
184 // us to clean up our state in case this happens. 184 // us to clean up our state in case this happens.
185 DCHECK(contents == web_contents_); 185 DCHECK(contents == web_contents_);
186 ChangeWebContents(NULL); 186 ChangeWebContents(NULL);
187 } 187 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698