OLD | NEW |
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/ui/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_gtk
.h" | |
13 #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" |
14 #include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h" | 13 #include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h" |
15 #include "chrome/common/notification_details.h" | 14 #include "chrome/common/notification_details.h" |
16 #include "chrome/common/notification_source.h" | 15 #include "chrome/common/notification_source.h" |
17 #include "views/fill_layout.h" | 16 #include "views/fill_layout.h" |
18 | 17 |
| 18 #if defined(OS_LINUX) |
| 19 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk
.h" |
| 20 #endif |
| 21 |
19 // Some of this class is implemented in tab_contents_container.cc, where | 22 // Some of this class is implemented in tab_contents_container.cc, where |
20 // the implementation doesn't vary between a pure views approach and a | 23 // the implementation doesn't vary between a pure views approach and a |
21 // native view host approach. See the header file for details. | 24 // native view host approach. See the header file for details. |
22 | 25 |
23 //////////////////////////////////////////////////////////////////////////////// | 26 //////////////////////////////////////////////////////////////////////////////// |
24 // TabContentsContainer, public: | 27 // TabContentsContainer, public: |
25 | 28 |
26 TabContentsContainer::TabContentsContainer() | 29 TabContentsContainer::TabContentsContainer() |
27 : tab_contents_(NULL) { | 30 : tab_contents_(NULL) { |
28 SetID(VIEW_ID_TAB_CONTAINER); | 31 SetID(VIEW_ID_TAB_CONTAINER); |
(...skipping 28 matching lines...) Expand all Loading... |
57 void TabContentsContainer::TabContentsFocused(TabContents* tab_contents) { | 60 void TabContentsContainer::TabContentsFocused(TabContents* tab_contents) { |
58 } | 61 } |
59 | 62 |
60 void TabContentsContainer::SetFastResize(bool fast_resize) { | 63 void TabContentsContainer::SetFastResize(bool fast_resize) { |
61 } | 64 } |
62 | 65 |
63 void TabContentsContainer::RenderViewHostChanged(RenderViewHost* old_host, | 66 void TabContentsContainer::RenderViewHostChanged(RenderViewHost* old_host, |
64 RenderViewHost* new_host) { | 67 RenderViewHost* new_host) { |
65 NOTIMPLEMENTED(); // TODO(anicolao) | 68 NOTIMPLEMENTED(); // TODO(anicolao) |
66 } | 69 } |
OLD | NEW |