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

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

Issue 3145001: FBTF: Clean up task.h in x11_util.h and header usage in some delegates. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: more Created 10 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
« no previous file with comments | « chrome/browser/gtk/find_bar_gtk.cc ('k') | chrome/browser/gtk/html_dialog_gtk.cc » ('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) 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/gtk_util.h" 5 #include "chrome/browser/gtk/gtk_util.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 #include <gdk/gdkx.h> 8 #include <gdk/gdkx.h>
9 9
10 #include <cstdarg> 10 #include <cstdarg>
11 #include <map> 11 #include <map>
12 12
13 #include "app/gtk_util.h" 13 #include "app/gtk_util.h"
14 #include "app/l10n_util.h" 14 #include "app/l10n_util.h"
15 #include "app/resource_bundle.h" 15 #include "app/resource_bundle.h"
16 #include "app/x11_util.h" 16 #include "app/x11_util.h"
17 #include "base/gtk_util.h" 17 #include "base/gtk_util.h"
18 #include "base/i18n/rtl.h" 18 #include "base/i18n/rtl.h"
19 #include "base/linux_util.h" 19 #include "base/linux_util.h"
20 #include "base/logging.h" 20 #include "base/logging.h"
21 #include "base/utf_string_conversions.h"
21 #include "chrome/browser/autocomplete/autocomplete.h" 22 #include "chrome/browser/autocomplete/autocomplete.h"
22 #include "chrome/browser/browser_list.h" 23 #include "chrome/browser/browser_list.h"
23 #include "chrome/browser/browser_window.h" 24 #include "chrome/browser/browser_window.h"
24 #include "chrome/browser/gtk/cairo_cached_surface.h" 25 #include "chrome/browser/gtk/cairo_cached_surface.h"
25 #include "chrome/browser/gtk/gtk_theme_provider.h" 26 #include "chrome/browser/gtk/gtk_theme_provider.h"
26 #include "chrome/common/renderer_preferences.h" 27 #include "chrome/common/renderer_preferences.h"
27 #include "googleurl/src/gurl.h" 28 #include "googleurl/src/gurl.h"
28 #include "grit/theme_resources.h" 29 #include "grit/theme_resources.h"
29 #include "third_party/skia/include/core/SkBitmap.h" 30 #include "third_party/skia/include/core/SkBitmap.h"
30 #include "third_party/skia/include/core/SkColor.h" 31 #include "third_party/skia/include/core/SkColor.h"
(...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 gint x = 0, y = 0, width = 1, height = 1; 1024 gint x = 0, y = 0, width = 1, height = 1;
1024 gtk_window_get_position(GTK_WINDOW(dialog), &x, &y); 1025 gtk_window_get_position(GTK_WINDOW(dialog), &x, &y);
1025 gtk_window_get_size(GTK_WINDOW(dialog), &width, &height); 1026 gtk_window_get_size(GTK_WINDOW(dialog), &width, &height);
1026 1027
1027 return gfx::Rect(x, y, width, height); 1028 return gfx::Rect(x, y, width, height);
1028 } 1029 }
1029 1030
1030 #endif 1031 #endif
1031 1032
1032 } // namespace gtk_util 1033 } // namespace gtk_util
OLDNEW
« no previous file with comments | « chrome/browser/gtk/find_bar_gtk.cc ('k') | chrome/browser/gtk/html_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698