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/views/frame/browser_view.h" | 5 #include "chrome/browser/views/frame/browser_view.h" |
6 | 6 |
7 #if defined(OS_LINUX) | 7 #if defined(OS_LINUX) |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 #endif | 9 #endif |
10 | 10 |
(...skipping 17 matching lines...) Loading... |
28 #include "chrome/browser/ntp_background_util.h" | 28 #include "chrome/browser/ntp_background_util.h" |
29 #include "chrome/browser/page_info_window.h" | 29 #include "chrome/browser/page_info_window.h" |
30 #include "chrome/browser/prefs/pref_service.h" | 30 #include "chrome/browser/prefs/pref_service.h" |
31 #include "chrome/browser/profile.h" | 31 #include "chrome/browser/profile.h" |
32 #include "chrome/browser/renderer_host/render_widget_host_view.h" | 32 #include "chrome/browser/renderer_host/render_widget_host_view.h" |
33 #include "chrome/browser/sessions/tab_restore_service.h" | 33 #include "chrome/browser/sessions/tab_restore_service.h" |
34 #include "chrome/browser/sidebar/sidebar_container.h" | 34 #include "chrome/browser/sidebar/sidebar_container.h" |
35 #include "chrome/browser/sidebar/sidebar_manager.h" | 35 #include "chrome/browser/sidebar/sidebar_manager.h" |
36 #include "chrome/browser/tab_contents/tab_contents.h" | 36 #include "chrome/browser/tab_contents/tab_contents.h" |
37 #include "chrome/browser/tab_contents/tab_contents_view.h" | 37 #include "chrome/browser/tab_contents/tab_contents_view.h" |
38 #include "chrome/browser/tab_contents_wrapper.h" | |
39 #include "chrome/browser/tabs/tab_strip_model.h" | 38 #include "chrome/browser/tabs/tab_strip_model.h" |
40 #include "chrome/browser/themes/browser_theme_provider.h" | 39 #include "chrome/browser/themes/browser_theme_provider.h" |
41 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h" | 40 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h" |
42 #include "chrome/browser/ui/browser.h" | 41 #include "chrome/browser/ui/browser.h" |
43 #include "chrome/browser/ui/browser_list.h" | 42 #include "chrome/browser/ui/browser_list.h" |
| 43 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
44 #include "chrome/browser/ui/toolbar/wrench_menu_model.h" | 44 #include "chrome/browser/ui/toolbar/wrench_menu_model.h" |
| 45 #include "chrome/browser/ui/view_ids.h" |
45 #include "chrome/browser/ui/views/accessible_view_helper.h" | 46 #include "chrome/browser/ui/views/accessible_view_helper.h" |
46 #include "chrome/browser/ui/views/bookmark_bar_view.h" | 47 #include "chrome/browser/ui/views/bookmark_bar_view.h" |
47 #include "chrome/browser/ui/views/browser_dialogs.h" | 48 #include "chrome/browser/ui/views/browser_dialogs.h" |
48 #include "chrome/browser/ui/views/default_search_view.h" | 49 #include "chrome/browser/ui/views/default_search_view.h" |
49 #include "chrome/browser/ui/views/download_shelf_view.h" | 50 #include "chrome/browser/ui/views/download_shelf_view.h" |
50 #include "chrome/browser/ui/views/frame/browser_view_layout.h" | 51 #include "chrome/browser/ui/views/frame/browser_view_layout.h" |
51 #include "chrome/browser/ui/views/frame/contents_container.h" | 52 #include "chrome/browser/ui/views/frame/contents_container.h" |
52 #include "chrome/browser/ui/views/fullscreen_exit_bubble.h" | 53 #include "chrome/browser/ui/views/fullscreen_exit_bubble.h" |
53 #include "chrome/browser/ui/views/status_bubble_views.h" | 54 #include "chrome/browser/ui/views/status_bubble_views.h" |
54 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h" | 55 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h" |
55 #include "chrome/browser/ui/views/tabs/browser_tab_strip_controller.h" | 56 #include "chrome/browser/ui/views/tabs/browser_tab_strip_controller.h" |
56 #include "chrome/browser/ui/views/tabs/side_tab_strip.h" | 57 #include "chrome/browser/ui/views/tabs/side_tab_strip.h" |
57 #include "chrome/browser/ui/views/theme_install_bubble_view.h" | 58 #include "chrome/browser/ui/views/theme_install_bubble_view.h" |
58 #include "chrome/browser/ui/views/toolbar_view.h" | 59 #include "chrome/browser/ui/views/toolbar_view.h" |
59 #include "chrome/browser/ui/views/update_recommended_message_box.h" | 60 #include "chrome/browser/ui/views/update_recommended_message_box.h" |
60 #include "chrome/browser/ui/views/window.h" | 61 #include "chrome/browser/ui/views/window.h" |
61 #include "chrome/browser/ui/window_sizer.h" | 62 #include "chrome/browser/ui/window_sizer.h" |
62 #include "chrome/browser/view_ids.h" | |
63 #include "chrome/common/chrome_switches.h" | 63 #include "chrome/common/chrome_switches.h" |
64 #include "chrome/common/extensions/extension_resource.h" | 64 #include "chrome/common/extensions/extension_resource.h" |
65 #include "chrome/common/native_window_notification_source.h" | 65 #include "chrome/common/native_window_notification_source.h" |
66 #include "chrome/common/notification_service.h" | 66 #include "chrome/common/notification_service.h" |
67 #include "chrome/common/pref_names.h" | 67 #include "chrome/common/pref_names.h" |
68 #include "chrome/common/url_constants.h" | 68 #include "chrome/common/url_constants.h" |
69 #include "gfx/canvas_skia.h" | 69 #include "gfx/canvas_skia.h" |
70 #include "grit/app_resources.h" | 70 #include "grit/app_resources.h" |
71 #include "grit/chromium_strings.h" | 71 #include "grit/chromium_strings.h" |
72 #include "grit/generated_resources.h" | 72 #include "grit/generated_resources.h" |
(...skipping 2435 matching lines...) Loading... |
2508 SetAccessibleName(l10n_util::GetString(IDS_PRODUCT_NAME)); | 2508 SetAccessibleName(l10n_util::GetString(IDS_PRODUCT_NAME)); |
2509 | 2509 |
2510 return view; | 2510 return view; |
2511 } | 2511 } |
2512 #endif | 2512 #endif |
2513 | 2513 |
2514 // static | 2514 // static |
2515 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { | 2515 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { |
2516 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window())); | 2516 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window())); |
2517 } | 2517 } |
OLD | NEW |