OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/gtk/browser_window_gtk.h" | 5 #include "chrome/browser/ui/gtk/browser_window_gtk.h" |
6 | 6 |
7 #include <dlfcn.h> | 7 #include <dlfcn.h> |
8 #include <gdk/gdkkeysyms.h> | 8 #include <gdk/gdkkeysyms.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 #include "chrome/browser/ui/gtk/status_bubble_gtk.h" | 65 #include "chrome/browser/ui/gtk/status_bubble_gtk.h" |
66 #include "chrome/browser/ui/gtk/tab_contents_container_gtk.h" | 66 #include "chrome/browser/ui/gtk/tab_contents_container_gtk.h" |
67 #include "chrome/browser/ui/gtk/tabs/tab_strip_gtk.h" | 67 #include "chrome/browser/ui/gtk/tabs/tab_strip_gtk.h" |
68 #include "chrome/browser/ui/gtk/task_manager_gtk.h" | 68 #include "chrome/browser/ui/gtk/task_manager_gtk.h" |
69 #include "chrome/browser/ui/gtk/theme_service_gtk.h" | 69 #include "chrome/browser/ui/gtk/theme_service_gtk.h" |
70 #include "chrome/browser/ui/gtk/update_recommended_dialog.h" | 70 #include "chrome/browser/ui/gtk/update_recommended_dialog.h" |
71 #include "chrome/browser/ui/omnibox/location_bar.h" | 71 #include "chrome/browser/ui/omnibox/location_bar.h" |
72 #include "chrome/browser/ui/omnibox/omnibox_view.h" | 72 #include "chrome/browser/ui/omnibox/omnibox_view.h" |
73 #include "chrome/browser/ui/page_info_bubble.h" | 73 #include "chrome/browser/ui/page_info_bubble.h" |
74 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 74 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
75 #include "chrome/browser/ui/webui/task_manager_dialog.h" | 75 #include "chrome/browser/ui/webui/task_manager/task_manager_dialog.h" |
76 #include "chrome/browser/web_applications/web_app.h" | 76 #include "chrome/browser/web_applications/web_app.h" |
77 #include "chrome/common/chrome_notification_types.h" | 77 #include "chrome/common/chrome_notification_types.h" |
78 #include "chrome/common/chrome_switches.h" | 78 #include "chrome/common/chrome_switches.h" |
79 #include "chrome/common/pref_names.h" | 79 #include "chrome/common/pref_names.h" |
80 #include "content/browser/renderer_host/render_view_host.h" | 80 #include "content/browser/renderer_host/render_view_host.h" |
81 #include "content/public/browser/download_manager.h" | 81 #include "content/public/browser/download_manager.h" |
82 #include "content/public/browser/native_web_keyboard_event.h" | 82 #include "content/public/browser/native_web_keyboard_event.h" |
83 #include "content/public/browser/notification_service.h" | 83 #include "content/public/browser/notification_service.h" |
84 #include "content/public/browser/render_widget_host_view.h" | 84 #include "content/public/browser/render_widget_host_view.h" |
85 #include "content/public/browser/web_contents.h" | 85 #include "content/public/browser/web_contents.h" |
(...skipping 2456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2542 wm_type == ui::WM_OPENBOX || | 2542 wm_type == ui::WM_OPENBOX || |
2543 wm_type == ui::WM_XFWM4); | 2543 wm_type == ui::WM_XFWM4); |
2544 } | 2544 } |
2545 | 2545 |
2546 // static | 2546 // static |
2547 BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser) { | 2547 BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser) { |
2548 BrowserWindowGtk* browser_window_gtk = new BrowserWindowGtk(browser); | 2548 BrowserWindowGtk* browser_window_gtk = new BrowserWindowGtk(browser); |
2549 browser_window_gtk->Init(); | 2549 browser_window_gtk->Init(); |
2550 return browser_window_gtk; | 2550 return browser_window_gtk; |
2551 } | 2551 } |
OLD | NEW |