| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 #include "chrome/browser/prefs/pref_service.h" | 67 #include "chrome/browser/prefs/pref_service.h" |
| 68 #include "chrome/browser/profile.h" | 68 #include "chrome/browser/profile.h" |
| 69 #include "chrome/browser/tab_contents/tab_contents.h" | 69 #include "chrome/browser/tab_contents/tab_contents.h" |
| 70 #include "chrome/browser/tab_contents_wrapper.h" | 70 #include "chrome/browser/tab_contents_wrapper.h" |
| 71 #include "chrome/browser/tab_contents/tab_contents_view.h" | 71 #include "chrome/browser/tab_contents/tab_contents_view.h" |
| 72 #include "chrome/browser/tabs/tab_strip_model.h" | 72 #include "chrome/browser/tabs/tab_strip_model.h" |
| 73 #include "chrome/browser/themes/browser_theme_provider.h" | 73 #include "chrome/browser/themes/browser_theme_provider.h" |
| 74 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h" | 74 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h" |
| 75 #include "chrome/browser/ui/browser.h" | 75 #include "chrome/browser/ui/browser.h" |
| 76 #include "chrome/browser/ui/find_bar/find_bar_controller.h" | 76 #include "chrome/browser/ui/find_bar/find_bar_controller.h" |
| 77 #include "chrome/browser/window_sizer.h" | 77 #include "chrome/browser/ui/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/gtk_util.h" | 82 #include "gfx/gtk_util.h" |
| 83 #include "gfx/rect.h" | 83 #include "gfx/rect.h" |
| 84 #include "gfx/skia_utils_gtk.h" | 84 #include "gfx/skia_utils_gtk.h" |
| 85 #include "grit/app_resources.h" | 85 #include "grit/app_resources.h" |
| 86 #include "grit/chromium_strings.h" | 86 #include "grit/chromium_strings.h" |
| 87 #include "grit/generated_resources.h" | 87 #include "grit/generated_resources.h" |
| (...skipping 2145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2233 // special-case the ones where the custom frame should be used. These names | 2233 // special-case the ones where the custom frame should be used. These names |
| 2234 // are taken from the WMs' source code. | 2234 // are taken from the WMs' source code. |
| 2235 return (wm_name == "Blackbox" || | 2235 return (wm_name == "Blackbox" || |
| 2236 wm_name == "compiz" || | 2236 wm_name == "compiz" || |
| 2237 wm_name == "e16" || // Enlightenment DR16 | 2237 wm_name == "e16" || // Enlightenment DR16 |
| 2238 wm_name == "Metacity" || | 2238 wm_name == "Metacity" || |
| 2239 wm_name == "Mutter" || | 2239 wm_name == "Mutter" || |
| 2240 wm_name == "Openbox" || | 2240 wm_name == "Openbox" || |
| 2241 wm_name == "Xfwm4"); | 2241 wm_name == "Xfwm4"); |
| 2242 } | 2242 } |
| OLD | NEW |