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 |
11 #include "app/keyboard_codes.h" | 11 #include "app/keyboard_codes.h" |
12 #include "app/l10n_util.h" | 12 #include "app/l10n_util.h" |
13 #include "base/base_paths.h" | 13 #include "base/base_paths.h" |
14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/message_loop.h" | 16 #include "base/message_loop.h" |
17 #include "base/path_service.h" | 17 #include "base/path_service.h" |
18 #include "base/scoped_ptr.h" | 18 #include "base/scoped_ptr.h" |
19 #include "base/singleton.h" | 19 #include "base/singleton.h" |
20 #include "base/string_util.h" | 20 #include "base/string_util.h" |
21 #include "base/time.h" | 21 #include "base/time.h" |
22 #include "base/utf_string_conversions.h" | 22 #include "base/utf_string_conversions.h" |
23 #include "chrome/app/chrome_dll_resource.h" | 23 #include "chrome/app/chrome_command_ids.h" |
24 #include "chrome/browser/app_modal_dialog_queue.h" | 24 #include "chrome/browser/app_modal_dialog_queue.h" |
25 #include "chrome/browser/autocomplete/autocomplete_edit_view.h" | 25 #include "chrome/browser/autocomplete/autocomplete_edit_view.h" |
26 #include "chrome/browser/bookmarks/bookmark_utils.h" | 26 #include "chrome/browser/bookmarks/bookmark_utils.h" |
27 #include "chrome/browser/browser.h" | 27 #include "chrome/browser/browser.h" |
28 #include "chrome/browser/browser_list.h" | 28 #include "chrome/browser/browser_list.h" |
29 #include "chrome/browser/browser_process.h" | 29 #include "chrome/browser/browser_process.h" |
30 #include "chrome/browser/debugger/devtools_window.h" | 30 #include "chrome/browser/debugger/devtools_window.h" |
31 #include "chrome/browser/download/download_item_model.h" | 31 #include "chrome/browser/download/download_item_model.h" |
32 #include "chrome/browser/download/download_manager.h" | 32 #include "chrome/browser/download/download_manager.h" |
33 #include "chrome/browser/find_bar_controller.h" | 33 #include "chrome/browser/find_bar_controller.h" |
(...skipping 2224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2258 // special-case the ones where the custom frame should be used. These names | 2258 // special-case the ones where the custom frame should be used. These names |
2259 // are taken from the WMs' source code. | 2259 // are taken from the WMs' source code. |
2260 return (wm_name == "Blackbox" || | 2260 return (wm_name == "Blackbox" || |
2261 wm_name == "compiz" || | 2261 wm_name == "compiz" || |
2262 wm_name == "e16" || // Enlightenment DR16 | 2262 wm_name == "e16" || // Enlightenment DR16 |
2263 wm_name == "Metacity" || | 2263 wm_name == "Metacity" || |
2264 wm_name == "Mutter" || | 2264 wm_name == "Mutter" || |
2265 wm_name == "Openbox" || | 2265 wm_name == "Openbox" || |
2266 wm_name == "Xfwm4"); | 2266 wm_name == "Xfwm4"); |
2267 } | 2267 } |
OLD | NEW |