| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <gdk/gdkkeysyms.h> | 7 #include <gdk/gdkkeysyms.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 #include "chrome/browser/ui/gtk/tab_contents_container_gtk.h" | 64 #include "chrome/browser/ui/gtk/tab_contents_container_gtk.h" |
| 65 #include "chrome/browser/ui/gtk/tabs/tab_strip_gtk.h" | 65 #include "chrome/browser/ui/gtk/tabs/tab_strip_gtk.h" |
| 66 #include "chrome/browser/ui/gtk/task_manager_gtk.h" | 66 #include "chrome/browser/ui/gtk/task_manager_gtk.h" |
| 67 #include "chrome/browser/ui/gtk/theme_install_bubble_view_gtk.h" | 67 #include "chrome/browser/ui/gtk/theme_install_bubble_view_gtk.h" |
| 68 #include "chrome/browser/ui/gtk/update_recommended_dialog.h" | 68 #include "chrome/browser/ui/gtk/update_recommended_dialog.h" |
| 69 #include "chrome/browser/ui/omnibox/location_bar.h" | 69 #include "chrome/browser/ui/omnibox/location_bar.h" |
| 70 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 70 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
| 71 #include "chrome/browser/ui/webui/bug_report_ui.h" | 71 #include "chrome/browser/ui/webui/bug_report_ui.h" |
| 72 #include "chrome/browser/ui/window_sizer.h" | 72 #include "chrome/browser/ui/window_sizer.h" |
| 73 #include "chrome/common/chrome_switches.h" | 73 #include "chrome/common/chrome_switches.h" |
| 74 #include "chrome/common/native_web_keyboard_event.h" | |
| 75 #include "chrome/common/pref_names.h" | 74 #include "chrome/common/pref_names.h" |
| 76 #include "content/browser/tab_contents/tab_contents.h" | 75 #include "content/browser/tab_contents/tab_contents.h" |
| 77 #include "content/browser/tab_contents/tab_contents_view.h" | 76 #include "content/browser/tab_contents/tab_contents_view.h" |
| 77 #include "content/common/native_web_keyboard_event.h" |
| 78 #include "content/common/notification_service.h" | 78 #include "content/common/notification_service.h" |
| 79 #include "grit/app_resources.h" | 79 #include "grit/app_resources.h" |
| 80 #include "grit/chromium_strings.h" | 80 #include "grit/chromium_strings.h" |
| 81 #include "grit/generated_resources.h" | 81 #include "grit/generated_resources.h" |
| 82 #include "grit/theme_resources.h" | 82 #include "grit/theme_resources.h" |
| 83 #include "ui/base/keycodes/keyboard_codes.h" | 83 #include "ui/base/keycodes/keyboard_codes.h" |
| 84 #include "ui/base/l10n/l10n_util.h" | 84 #include "ui/base/l10n/l10n_util.h" |
| 85 #include "ui/gfx/gtk_util.h" | 85 #include "ui/gfx/gtk_util.h" |
| 86 #include "ui/gfx/rect.h" | 86 #include "ui/gfx/rect.h" |
| 87 #include "ui/gfx/skia_utils_gtk.h" | 87 #include "ui/gfx/skia_utils_gtk.h" |
| (...skipping 2177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2265 // special-case the ones where the custom frame should be used. These names | 2265 // special-case the ones where the custom frame should be used. These names |
| 2266 // are taken from the WMs' source code. | 2266 // are taken from the WMs' source code. |
| 2267 return (wm_name == "Blackbox" || | 2267 return (wm_name == "Blackbox" || |
| 2268 wm_name == "compiz" || | 2268 wm_name == "compiz" || |
| 2269 wm_name == "e16" || // Enlightenment DR16 | 2269 wm_name == "e16" || // Enlightenment DR16 |
| 2270 wm_name == "Metacity" || | 2270 wm_name == "Metacity" || |
| 2271 wm_name == "Mutter" || | 2271 wm_name == "Mutter" || |
| 2272 wm_name == "Openbox" || | 2272 wm_name == "Openbox" || |
| 2273 wm_name == "Xfwm4"); | 2273 wm_name == "Xfwm4"); |
| 2274 } | 2274 } |
| OLD | NEW |