Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(585)

Side by Side Diff: chrome/browser/gtk/browser_window_gtk.cc

Issue 5043001: Cleanup: Include browser.h -> ui/browser.h [Part 1]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_command_ids.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"
28 #include "chrome/browser/browser_list.h" 27 #include "chrome/browser/browser_list.h"
29 #include "chrome/browser/browser_process.h" 28 #include "chrome/browser/browser_process.h"
30 #include "chrome/browser/debugger/devtools_window.h" 29 #include "chrome/browser/debugger/devtools_window.h"
31 #include "chrome/browser/download/download_item_model.h" 30 #include "chrome/browser/download/download_item_model.h"
32 #include "chrome/browser/download/download_manager.h" 31 #include "chrome/browser/download/download_manager.h"
33 #include "chrome/browser/find_bar_controller.h" 32 #include "chrome/browser/find_bar_controller.h"
34 #include "chrome/browser/gtk/about_chrome_dialog.h" 33 #include "chrome/browser/gtk/about_chrome_dialog.h"
35 #include "chrome/browser/gtk/accelerators_gtk.h" 34 #include "chrome/browser/gtk/accelerators_gtk.h"
36 #include "chrome/browser/gtk/bookmark_bar_gtk.h" 35 #include "chrome/browser/gtk/bookmark_bar_gtk.h"
37 #include "chrome/browser/gtk/browser_titlebar.h" 36 #include "chrome/browser/gtk/browser_titlebar.h"
(...skipping 30 matching lines...) Expand all
68 #include "chrome/browser/location_bar.h" 67 #include "chrome/browser/location_bar.h"
69 #include "chrome/browser/page_info_window.h" 68 #include "chrome/browser/page_info_window.h"
70 #include "chrome/browser/prefs/pref_service.h" 69 #include "chrome/browser/prefs/pref_service.h"
71 #include "chrome/browser/profile.h" 70 #include "chrome/browser/profile.h"
72 #include "chrome/browser/renderer_host/render_view_host.h" 71 #include "chrome/browser/renderer_host/render_view_host.h"
73 #include "chrome/browser/renderer_host/render_widget_host_view_gtk.h" 72 #include "chrome/browser/renderer_host/render_widget_host_view_gtk.h"
74 #include "chrome/browser/tab_contents/tab_contents.h" 73 #include "chrome/browser/tab_contents/tab_contents.h"
75 #include "chrome/browser/tab_contents/tab_contents_view.h" 74 #include "chrome/browser/tab_contents/tab_contents_view.h"
76 #include "chrome/browser/tabs/tab_strip_model.h" 75 #include "chrome/browser/tabs/tab_strip_model.h"
77 #include "chrome/browser/themes/browser_theme_provider.h" 76 #include "chrome/browser/themes/browser_theme_provider.h"
77 #include "chrome/browser/ui/browser.h"
78 #include "chrome/browser/window_sizer.h" 78 #include "chrome/browser/window_sizer.h"
79 #include "chrome/common/chrome_switches.h" 79 #include "chrome/common/chrome_switches.h"
80 #include "chrome/common/native_web_keyboard_event.h" 80 #include "chrome/common/native_web_keyboard_event.h"
81 #include "chrome/common/notification_service.h" 81 #include "chrome/common/notification_service.h"
82 #include "chrome/common/pref_names.h" 82 #include "chrome/common/pref_names.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 2174 matching lines...) Expand 10 before | Expand all | Expand 10 after
2262 // special-case the ones where the custom frame should be used. These names 2262 // special-case the ones where the custom frame should be used. These names
2263 // are taken from the WMs' source code. 2263 // are taken from the WMs' source code.
2264 return (wm_name == "Blackbox" || 2264 return (wm_name == "Blackbox" ||
2265 wm_name == "compiz" || 2265 wm_name == "compiz" ||
2266 wm_name == "e16" || // Enlightenment DR16 2266 wm_name == "e16" || // Enlightenment DR16
2267 wm_name == "Metacity" || 2267 wm_name == "Metacity" ||
2268 wm_name == "Mutter" || 2268 wm_name == "Mutter" ||
2269 wm_name == "Openbox" || 2269 wm_name == "Openbox" ||
2270 wm_name == "Xfwm4"); 2270 wm_name == "Xfwm4");
2271 } 2271 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/browser_window_factory_gtk.cc ('k') | chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698