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/gtk_theme_provider.h" | 5 #include "chrome/browser/gtk/gtk_theme_provider.h" |
6 | 6 |
7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "app/gtk_signal_registrar.h" | 11 #include "app/gtk_signal_registrar.h" |
12 #include "app/resource_bundle.h" | 12 #include "app/resource_bundle.h" |
13 #include "base/environment.h" | 13 #include "base/environment.h" |
14 #include "base/stl_util-inl.h" | 14 #include "base/stl_util-inl.h" |
15 #include "base/nix/xdg_util.h" | 15 #include "base/nix/xdg_util.h" |
16 #include "chrome/browser/gtk/cairo_cached_surface.h" | 16 #include "chrome/browser/gtk/cairo_cached_surface.h" |
17 #include "chrome/browser/gtk/chrome_gtk_frame.h" | 17 #include "chrome/browser/gtk/chrome_gtk_frame.h" |
18 #include "chrome/browser/gtk/gtk_chrome_button.h" | 18 #include "chrome/browser/gtk/gtk_chrome_button.h" |
19 #include "chrome/browser/gtk/gtk_util.h" | 19 #include "chrome/browser/gtk/gtk_util.h" |
20 #include "chrome/browser/gtk/hover_controller_gtk.h" | 20 #include "chrome/browser/gtk/hover_controller_gtk.h" |
21 #include "chrome/browser/metrics/user_metrics.h" | 21 #include "chrome/browser/metrics/user_metrics.h" |
22 #include "chrome/browser/prefs/pref_service.h" | 22 #include "chrome/browser/prefs/pref_service.h" |
23 #include "chrome/browser/profile.h" | 23 #include "chrome/browser/profiles/profile.h" |
24 #include "chrome/common/notification_details.h" | 24 #include "chrome/common/notification_details.h" |
25 #include "chrome/common/notification_service.h" | 25 #include "chrome/common/notification_service.h" |
26 #include "chrome/common/notification_source.h" | 26 #include "chrome/common/notification_source.h" |
27 #include "chrome/common/notification_type.h" | 27 #include "chrome/common/notification_type.h" |
28 #include "chrome/common/pref_names.h" | 28 #include "chrome/common/pref_names.h" |
29 #include "gfx/canvas_skia.h" | 29 #include "gfx/canvas_skia.h" |
30 #include "gfx/color_utils.h" | 30 #include "gfx/color_utils.h" |
31 #include "gfx/gtk_util.h" | 31 #include "gfx/gtk_util.h" |
32 #include "gfx/skbitmap_operations.h" | 32 #include "gfx/skbitmap_operations.h" |
33 #include "gfx/skia_util.h" | 33 #include "gfx/skia_util.h" |
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1123 cairo_set_line_width(cr, 1.0); | 1123 cairo_set_line_width(cr, 1.0); |
1124 cairo_move_to(cr, start_x, widget->allocation.y); | 1124 cairo_move_to(cr, start_x, widget->allocation.y); |
1125 cairo_line_to(cr, start_x, | 1125 cairo_line_to(cr, start_x, |
1126 widget->allocation.y + widget->allocation.height); | 1126 widget->allocation.y + widget->allocation.height); |
1127 cairo_stroke(cr); | 1127 cairo_stroke(cr); |
1128 cairo_destroy(cr); | 1128 cairo_destroy(cr); |
1129 cairo_pattern_destroy(pattern); | 1129 cairo_pattern_destroy(pattern); |
1130 | 1130 |
1131 return TRUE; | 1131 return TRUE; |
1132 } | 1132 } |
OLD | NEW |