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

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

Issue 7618048: Move the core download files to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months 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) 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 <dlfcn.h> 9 #include <dlfcn.h>
10 #include <string> 10 #include <string>
11 11
12 #include "base/base_paths.h" 12 #include "base/base_paths.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/environment.h" 14 #include "base/environment.h"
15 #include "base/i18n/file_util_icu.h" 15 #include "base/i18n/file_util_icu.h"
16 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
18 #include "base/memory/singleton.h" 18 #include "base/memory/singleton.h"
19 #include "base/message_loop.h" 19 #include "base/message_loop.h"
20 #include "base/nix/xdg_util.h" 20 #include "base/nix/xdg_util.h"
21 #include "base/path_service.h" 21 #include "base/path_service.h"
22 #include "base/string_util.h" 22 #include "base/string_util.h"
23 #include "base/time.h" 23 #include "base/time.h"
24 #include "base/utf_string_conversions.h" 24 #include "base/utf_string_conversions.h"
25 #include "chrome/app/chrome_command_ids.h" 25 #include "chrome/app/chrome_command_ids.h"
26 #include "chrome/browser/bookmarks/bookmark_utils.h" 26 #include "chrome/browser/bookmarks/bookmark_utils.h"
27 #include "chrome/browser/browser_process.h" 27 #include "chrome/browser/browser_process.h"
28 #include "chrome/browser/debugger/devtools_window.h" 28 #include "chrome/browser/debugger/devtools_window.h"
29 #include "chrome/browser/download/download_item_model.h" 29 #include "chrome/browser/download/download_item_model.h"
30 #include "chrome/browser/download/download_manager.h"
31 #include "chrome/browser/page_info_window.h" 30 #include "chrome/browser/page_info_window.h"
32 #include "chrome/browser/prefs/pref_service.h" 31 #include "chrome/browser/prefs/pref_service.h"
33 #include "chrome/browser/prefs/scoped_user_pref_update.h" 32 #include "chrome/browser/prefs/scoped_user_pref_update.h"
34 #include "chrome/browser/profiles/profile.h" 33 #include "chrome/browser/profiles/profile.h"
35 #include "chrome/browser/tabs/tab_strip_model.h" 34 #include "chrome/browser/tabs/tab_strip_model.h"
36 #include "chrome/browser/themes/theme_service.h" 35 #include "chrome/browser/themes/theme_service.h"
37 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h" 36 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h"
38 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h" 37 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h"
39 #include "chrome/browser/ui/browser.h" 38 #include "chrome/browser/ui/browser.h"
40 #include "chrome/browser/ui/browser_dialogs.h" 39 #include "chrome/browser/ui/browser_dialogs.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 #include "chrome/browser/ui/gtk/update_recommended_dialog.h" 71 #include "chrome/browser/ui/gtk/update_recommended_dialog.h"
73 #include "chrome/browser/ui/omnibox/location_bar.h" 72 #include "chrome/browser/ui/omnibox/location_bar.h"
74 #include "chrome/browser/ui/omnibox/omnibox_view.h" 73 #include "chrome/browser/ui/omnibox/omnibox_view.h"
75 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 74 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
76 #include "chrome/browser/ui/webui/bug_report_ui.h" 75 #include "chrome/browser/ui/webui/bug_report_ui.h"
77 #include "chrome/browser/ui/window_sizer.h" 76 #include "chrome/browser/ui/window_sizer.h"
78 #include "chrome/browser/web_applications/web_app.h" 77 #include "chrome/browser/web_applications/web_app.h"
79 #include "chrome/common/chrome_notification_types.h" 78 #include "chrome/common/chrome_notification_types.h"
80 #include "chrome/common/chrome_switches.h" 79 #include "chrome/common/chrome_switches.h"
81 #include "chrome/common/pref_names.h" 80 #include "chrome/common/pref_names.h"
81 #include "content/browser/download/download_manager.h"
82 #include "content/browser/renderer_host/render_view_host.h" 82 #include "content/browser/renderer_host/render_view_host.h"
83 #include "content/browser/renderer_host/render_widget_host_view.h" 83 #include "content/browser/renderer_host/render_widget_host_view.h"
84 #include "content/browser/tab_contents/tab_contents.h" 84 #include "content/browser/tab_contents/tab_contents.h"
85 #include "content/browser/tab_contents/tab_contents_view.h" 85 #include "content/browser/tab_contents/tab_contents_view.h"
86 #include "content/common/native_web_keyboard_event.h" 86 #include "content/common/native_web_keyboard_event.h"
87 #include "content/common/notification_service.h" 87 #include "content/common/notification_service.h"
88 #include "content/common/view_messages.h" 88 #include "content/common/view_messages.h"
89 #include "grit/chromium_strings.h" 89 #include "grit/chromium_strings.h"
90 #include "grit/generated_resources.h" 90 #include "grit/generated_resources.h"
91 #include "grit/theme_resources.h" 91 #include "grit/theme_resources.h"
(...skipping 2281 matching lines...) Expand 10 before | Expand all | Expand 10 after
2373 // are taken from the WMs' source code. 2373 // are taken from the WMs' source code.
2374 return (wm_name == "Blackbox" || 2374 return (wm_name == "Blackbox" ||
2375 wm_name == "compiz" || 2375 wm_name == "compiz" ||
2376 wm_name == "Compiz" || 2376 wm_name == "Compiz" ||
2377 wm_name == "e16" || // Enlightenment DR16 2377 wm_name == "e16" || // Enlightenment DR16
2378 wm_name == "Metacity" || 2378 wm_name == "Metacity" ||
2379 wm_name == "Mutter" || 2379 wm_name == "Mutter" ||
2380 wm_name == "Openbox" || 2380 wm_name == "Openbox" ||
2381 wm_name == "Xfwm4"); 2381 wm_name == "Xfwm4");
2382 } 2382 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698