| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/native_tab_contents_container_win.h" | 5 #include "chrome/browser/views/tab_contents/native_tab_contents_container_win.h" |
| 6 | 6 |
| 7 #include "chrome/browser/renderer_host/render_widget_host_view.h" | 7 #include "chrome/browser/renderer_host/render_widget_host_view.h" |
| 8 #include "chrome/browser/tab_contents/interstitial_page.h" | 8 #include "chrome/browser/tab_contents/interstitial_page.h" |
| 9 #include "chrome/browser/tab_contents/tab_contents.h" | 9 #include "chrome/browser/tab_contents/tab_contents.h" |
| 10 #include "chrome/browser/view_ids.h" | 10 #include "chrome/browser/ui/view_ids.h" |
| 11 #include "chrome/browser/views/tab_contents/tab_contents_container.h" | 11 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h" |
| 12 #include "chrome/browser/views/tab_contents/tab_contents_view_win.h" | 12 #include "chrome/browser/ui/views/tab_contents/tab_contents_view_win.h" |
| 13 | 13 |
| 14 #include "views/focus/focus_manager.h" | 14 #include "views/focus/focus_manager.h" |
| 15 | 15 |
| 16 //////////////////////////////////////////////////////////////////////////////// | 16 //////////////////////////////////////////////////////////////////////////////// |
| 17 // NativeTabContentsContainerWin, public: | 17 // NativeTabContentsContainerWin, public: |
| 18 | 18 |
| 19 NativeTabContentsContainerWin::NativeTabContentsContainerWin( | 19 NativeTabContentsContainerWin::NativeTabContentsContainerWin( |
| 20 TabContentsContainer* container) | 20 TabContentsContainer* container) |
| 21 : container_(container) { | 21 : container_(container) { |
| 22 SetID(VIEW_ID_TAB_CONTAINER_FOCUS_VIEW); | 22 SetID(VIEW_ID_TAB_CONTAINER_FOCUS_VIEW); |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 } | 134 } |
| 135 | 135 |
| 136 //////////////////////////////////////////////////////////////////////////////// | 136 //////////////////////////////////////////////////////////////////////////////// |
| 137 // NativeTabContentsContainer, public: | 137 // NativeTabContentsContainer, public: |
| 138 | 138 |
| 139 // static | 139 // static |
| 140 NativeTabContentsContainer* NativeTabContentsContainer::CreateNativeContainer( | 140 NativeTabContentsContainer* NativeTabContentsContainer::CreateNativeContainer( |
| 141 TabContentsContainer* container) { | 141 TabContentsContainer* container) { |
| 142 return new NativeTabContentsContainerWin(container); | 142 return new NativeTabContentsContainerWin(container); |
| 143 } | 143 } |
| OLD | NEW |