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/gtk/browser_window_gtk.h" | 5 #include "chrome/browser/gtk/browser_window_gtk.h" |
6 | 6 |
7 #include <gdk/gdkkeysyms.h> | 7 #include <gdk/gdkkeysyms.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "base/string_util.h" | 21 #include "base/string_util.h" |
22 #include "base/time.h" | 22 #include "base/time.h" |
23 #include "base/utf_string_conversions.h" | 23 #include "base/utf_string_conversions.h" |
24 #include "chrome/app/chrome_dll_resource.h" | 24 #include "chrome/app/chrome_dll_resource.h" |
25 #include "chrome/browser/app_modal_dialog_queue.h" | 25 #include "chrome/browser/app_modal_dialog_queue.h" |
26 #include "chrome/browser/autocomplete/autocomplete_edit_view.h" | 26 #include "chrome/browser/autocomplete/autocomplete_edit_view.h" |
27 #include "chrome/browser/bookmarks/bookmark_utils.h" | 27 #include "chrome/browser/bookmarks/bookmark_utils.h" |
28 #include "chrome/browser/browser.h" | 28 #include "chrome/browser/browser.h" |
29 #include "chrome/browser/browser_list.h" | 29 #include "chrome/browser/browser_list.h" |
30 #include "chrome/browser/browser_process.h" | 30 #include "chrome/browser/browser_process.h" |
31 #include "chrome/browser/browser_theme_provider.h" | |
32 #include "chrome/browser/debugger/devtools_window.h" | 31 #include "chrome/browser/debugger/devtools_window.h" |
33 #include "chrome/browser/download/download_item_model.h" | 32 #include "chrome/browser/download/download_item_model.h" |
34 #include "chrome/browser/download/download_manager.h" | 33 #include "chrome/browser/download/download_manager.h" |
35 #include "chrome/browser/find_bar_controller.h" | 34 #include "chrome/browser/find_bar_controller.h" |
36 #include "chrome/browser/gtk/about_chrome_dialog.h" | 35 #include "chrome/browser/gtk/about_chrome_dialog.h" |
37 #include "chrome/browser/gtk/accelerators_gtk.h" | 36 #include "chrome/browser/gtk/accelerators_gtk.h" |
38 #include "chrome/browser/gtk/bookmark_bar_gtk.h" | 37 #include "chrome/browser/gtk/bookmark_bar_gtk.h" |
39 #include "chrome/browser/gtk/browser_titlebar.h" | 38 #include "chrome/browser/gtk/browser_titlebar.h" |
40 #include "chrome/browser/gtk/browser_toolbar_gtk.h" | 39 #include "chrome/browser/gtk/browser_toolbar_gtk.h" |
41 #include "chrome/browser/gtk/cairo_cached_surface.h" | 40 #include "chrome/browser/gtk/cairo_cached_surface.h" |
(...skipping 25 matching lines...) Expand all Loading... |
67 #include "chrome/browser/gtk/theme_install_bubble_view_gtk.h" | 66 #include "chrome/browser/gtk/theme_install_bubble_view_gtk.h" |
68 #include "chrome/browser/gtk/update_recommended_dialog.h" | 67 #include "chrome/browser/gtk/update_recommended_dialog.h" |
69 #include "chrome/browser/location_bar.h" | 68 #include "chrome/browser/location_bar.h" |
70 #include "chrome/browser/page_info_window.h" | 69 #include "chrome/browser/page_info_window.h" |
71 #include "chrome/browser/pref_service.h" | 70 #include "chrome/browser/pref_service.h" |
72 #include "chrome/browser/profile.h" | 71 #include "chrome/browser/profile.h" |
73 #include "chrome/browser/renderer_host/render_view_host.h" | 72 #include "chrome/browser/renderer_host/render_view_host.h" |
74 #include "chrome/browser/renderer_host/render_widget_host_view_gtk.h" | 73 #include "chrome/browser/renderer_host/render_widget_host_view_gtk.h" |
75 #include "chrome/browser/tab_contents/tab_contents.h" | 74 #include "chrome/browser/tab_contents/tab_contents.h" |
76 #include "chrome/browser/tab_contents/tab_contents_view.h" | 75 #include "chrome/browser/tab_contents/tab_contents_view.h" |
| 76 #include "chrome/browser/themes/browser_theme_provider.h" |
77 #include "chrome/browser/window_sizer.h" | 77 #include "chrome/browser/window_sizer.h" |
78 #include "chrome/common/chrome_switches.h" | 78 #include "chrome/common/chrome_switches.h" |
79 #include "chrome/common/native_web_keyboard_event.h" | 79 #include "chrome/common/native_web_keyboard_event.h" |
80 #include "chrome/common/notification_service.h" | 80 #include "chrome/common/notification_service.h" |
81 #include "chrome/common/pref_names.h" | 81 #include "chrome/common/pref_names.h" |
82 #include "gfx/color_utils.h" | 82 #include "gfx/color_utils.h" |
83 #include "gfx/gtk_util.h" | 83 #include "gfx/gtk_util.h" |
84 #include "gfx/rect.h" | 84 #include "gfx/rect.h" |
85 #include "gfx/skia_utils_gtk.h" | 85 #include "gfx/skia_utils_gtk.h" |
86 #include "grit/app_resources.h" | 86 #include "grit/app_resources.h" |
(...skipping 2078 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2165 // special-case the ones where the custom frame should be used. These names | 2165 // special-case the ones where the custom frame should be used. These names |
2166 // are taken from the WMs' source code. | 2166 // are taken from the WMs' source code. |
2167 return (wm_name == "Blackbox" || | 2167 return (wm_name == "Blackbox" || |
2168 wm_name == "compiz" || | 2168 wm_name == "compiz" || |
2169 wm_name == "e16" || // Enlightenment DR16 | 2169 wm_name == "e16" || // Enlightenment DR16 |
2170 wm_name == "Metacity" || | 2170 wm_name == "Metacity" || |
2171 wm_name == "Mutter" || | 2171 wm_name == "Mutter" || |
2172 wm_name == "Openbox" || | 2172 wm_name == "Openbox" || |
2173 wm_name == "Xfwm4"); | 2173 wm_name == "Xfwm4"); |
2174 } | 2174 } |
OLD | NEW |