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/external_tab_container_win.h" | 5 #include "chrome/browser/external_tab_container_win.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "app/win_util.h" | |
10 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
11 #include "base/logging.h" | 10 #include "base/logging.h" |
12 #include "base/win_util.h" | 11 #include "base/win_util.h" |
13 #include "chrome/app/chrome_dll_resource.h" | 12 #include "chrome/app/chrome_dll_resource.h" |
14 #include "chrome/browser/automation/automation_provider.h" | 13 #include "chrome/browser/automation/automation_provider.h" |
15 #include "chrome/browser/automation/automation_extension_function.h" | 14 #include "chrome/browser/automation/automation_extension_function.h" |
16 #include "chrome/browser/browser_window.h" | 15 #include "chrome/browser/browser_window.h" |
17 #include "chrome/browser/debugger/devtools_manager.h" | 16 #include "chrome/browser/debugger/devtools_manager.h" |
18 #include "chrome/browser/debugger/devtools_toggle_action.h" | 17 #include "chrome/browser/debugger/devtools_toggle_action.h" |
19 #include "chrome/browser/load_notification_details.h" | 18 #include "chrome/browser/load_notification_details.h" |
(...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
987 external_tab_view_->SetLayoutManager(layout); | 986 external_tab_view_->SetLayoutManager(layout); |
988 | 987 |
989 layout->StartRow(0, 0); | 988 layout->StartRow(0, 0); |
990 layout->AddView(info_bar_container); | 989 layout->AddView(info_bar_container); |
991 layout->StartRow(1, 0); | 990 layout->StartRow(1, 0); |
992 layout->AddView(tab_contents_container_); | 991 layout->AddView(tab_contents_container_); |
993 SetContentsView(external_tab_view_); | 992 SetContentsView(external_tab_view_); |
994 // Note that SetTabContents must be called after AddChildView is called | 993 // Note that SetTabContents must be called after AddChildView is called |
995 tab_contents_container_->ChangeTabContents(tab_contents_); | 994 tab_contents_container_->ChangeTabContents(tab_contents_); |
996 } | 995 } |
997 | |
OLD | NEW |