| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-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/frame/browser_view.h" | 5 #include "chrome/browser/views/frame/browser_view.h" |
| 6 | 6 |
| 7 #include "app/drag_drop_types.h" | 7 #include "app/drag_drop_types.h" |
| 8 #include "app/gfx/chrome_canvas.h" | 8 #include "app/gfx/chrome_canvas.h" |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "app/os_exchange_data.h" | 10 #include "app/os_exchange_data.h" |
| 11 #include "app/resource_bundle.h" | 11 #include "app/resource_bundle.h" |
| 12 #include "app/win_util.h" |
| 12 #include "base/command_line.h" | 13 #include "base/command_line.h" |
| 13 #include "base/file_version_info.h" | 14 #include "base/file_version_info.h" |
| 14 #include "base/time.h" | 15 #include "base/time.h" |
| 15 #include "chrome/app/chrome_dll_resource.h" | 16 #include "chrome/app/chrome_dll_resource.h" |
| 16 #include "chrome/browser/app_modal_dialog_queue.h" | 17 #include "chrome/browser/app_modal_dialog_queue.h" |
| 17 #include "chrome/browser/bookmarks/bookmark_utils.h" | 18 #include "chrome/browser/bookmarks/bookmark_utils.h" |
| 18 #include "chrome/browser/browser.h" | 19 #include "chrome/browser/browser.h" |
| 19 #include "chrome/browser/browser_list.h" | 20 #include "chrome/browser/browser_list.h" |
| 20 #include "chrome/browser/download/download_manager.h" | 21 #include "chrome/browser/download/download_manager.h" |
| 21 #include "chrome/browser/encoding_menu_controller_delegate.h" | 22 #include "chrome/browser/encoding_menu_controller_delegate.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 47 #include "chrome/browser/sessions/tab_restore_service.h" | 48 #include "chrome/browser/sessions/tab_restore_service.h" |
| 48 #include "chrome/browser/tab_contents/navigation_entry.h" | 49 #include "chrome/browser/tab_contents/navigation_entry.h" |
| 49 #include "chrome/browser/tab_contents/tab_contents.h" | 50 #include "chrome/browser/tab_contents/tab_contents.h" |
| 50 #include "chrome/browser/tab_contents/tab_contents_view.h" | 51 #include "chrome/browser/tab_contents/tab_contents_view.h" |
| 51 #include "chrome/browser/window_sizer.h" | 52 #include "chrome/browser/window_sizer.h" |
| 52 #include "chrome/common/chrome_switches.h" | 53 #include "chrome/common/chrome_switches.h" |
| 53 #include "chrome/common/hwnd_notification_source.h" | 54 #include "chrome/common/hwnd_notification_source.h" |
| 54 #include "chrome/common/notification_service.h" | 55 #include "chrome/common/notification_service.h" |
| 55 #include "chrome/common/pref_names.h" | 56 #include "chrome/common/pref_names.h" |
| 56 #include "chrome/common/pref_service.h" | 57 #include "chrome/common/pref_service.h" |
| 57 #include "chrome/common/win_util.h" | |
| 58 #include "grit/chromium_strings.h" | 58 #include "grit/chromium_strings.h" |
| 59 #include "grit/generated_resources.h" | 59 #include "grit/generated_resources.h" |
| 60 #include "grit/theme_resources.h" | 60 #include "grit/theme_resources.h" |
| 61 #include "grit/webkit_resources.h" | 61 #include "grit/webkit_resources.h" |
| 62 #include "views/controls/scrollbar/native_scroll_bar.h" | 62 #include "views/controls/scrollbar/native_scroll_bar.h" |
| 63 #include "views/fill_layout.h" | 63 #include "views/fill_layout.h" |
| 64 #include "views/view.h" | 64 #include "views/view.h" |
| 65 #include "views/widget/root_view.h" | 65 #include "views/widget/root_view.h" |
| 66 #include "views/window/non_client_view.h" | 66 #include "views/window/non_client_view.h" |
| 67 #include "views/window/window_win.h" | 67 #include "views/window/window_win.h" |
| (...skipping 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1668 | 1668 |
| 1669 // static | 1669 // static |
| 1670 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { | 1670 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { |
| 1671 return new FindBarWin(static_cast<BrowserView*>(browser->window())); | 1671 return new FindBarWin(static_cast<BrowserView*>(browser->window())); |
| 1672 } | 1672 } |
| 1673 | 1673 |
| 1674 // static | 1674 // static |
| 1675 void BrowserList::AllBrowsersClosed() { | 1675 void BrowserList::AllBrowsersClosed() { |
| 1676 views::Window::CloseAllSecondaryWindows(); | 1676 views::Window::CloseAllSecondaryWindows(); |
| 1677 } | 1677 } |
| OLD | NEW |