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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.h ('k') | chrome/browser/ui/gtk/certificate_viewer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <string> 9 #include <string>
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 #include "chrome/browser/ui/gtk/task_manager_gtk.h" 72 #include "chrome/browser/ui/gtk/task_manager_gtk.h"
73 #include "chrome/browser/ui/gtk/theme_install_bubble_view_gtk.h" 73 #include "chrome/browser/ui/gtk/theme_install_bubble_view_gtk.h"
74 #include "chrome/browser/ui/gtk/update_recommended_dialog.h" 74 #include "chrome/browser/ui/gtk/update_recommended_dialog.h"
75 #include "chrome/browser/ui/omnibox/location_bar.h" 75 #include "chrome/browser/ui/omnibox/location_bar.h"
76 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 76 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
77 #include "chrome/browser/ui/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"
83 #include "gfx/rect.h"
84 #include "gfx/skia_utils_gtk.h"
85 #include "grit/app_resources.h" 82 #include "grit/app_resources.h"
86 #include "grit/chromium_strings.h" 83 #include "grit/chromium_strings.h"
87 #include "grit/generated_resources.h" 84 #include "grit/generated_resources.h"
88 #include "grit/theme_resources.h" 85 #include "grit/theme_resources.h"
89 #include "ui/base/keycodes/keyboard_codes.h" 86 #include "ui/base/keycodes/keyboard_codes.h"
90 #include "ui/base/l10n/l10n_util.h" 87 #include "ui/base/l10n/l10n_util.h"
88 #include "ui/gfx/gtk_util.h"
89 #include "ui/gfx/rect.h"
90 #include "ui/gfx/skia_utils_gtk.h"
91 91
92 namespace { 92 namespace {
93 93
94 // The number of milliseconds between loading animation frames. 94 // The number of milliseconds between loading animation frames.
95 const int kLoadingAnimationFrameTimeMs = 30; 95 const int kLoadingAnimationFrameTimeMs = 30;
96 96
97 // Default height of dev tools pane when docked to the browser window. This 97 // Default height of dev tools pane when docked to the browser window. This
98 // matches the value in Views. 98 // matches the value in Views.
99 const int kDefaultDevToolsHeight = 200; 99 const int kDefaultDevToolsHeight = 200;
100 100
(...skipping 2138 matching lines...) Expand 10 before | Expand all | Expand 10 after
2239 // special-case the ones where the custom frame should be used. These names 2239 // special-case the ones where the custom frame should be used. These names
2240 // are taken from the WMs' source code. 2240 // are taken from the WMs' source code.
2241 return (wm_name == "Blackbox" || 2241 return (wm_name == "Blackbox" ||
2242 wm_name == "compiz" || 2242 wm_name == "compiz" ||
2243 wm_name == "e16" || // Enlightenment DR16 2243 wm_name == "e16" || // Enlightenment DR16
2244 wm_name == "Metacity" || 2244 wm_name == "Metacity" ||
2245 wm_name == "Mutter" || 2245 wm_name == "Mutter" ||
2246 wm_name == "Openbox" || 2246 wm_name == "Openbox" ||
2247 wm_name == "Xfwm4"); 2247 wm_name == "Xfwm4");
2248 } 2248 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.h ('k') | chrome/browser/ui/gtk/certificate_viewer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698