| OLD | NEW |
| 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/gtk_theme_service.h" | 5 #include "chrome/browser/ui/gtk/gtk_theme_service.h" |
| 6 | 6 |
| 7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/environment.h" | 12 #include "base/environment.h" |
| 13 #include "base/nix/xdg_util.h" | 13 #include "base/nix/xdg_util.h" |
| 14 #include "base/stl_util-inl.h" | 14 #include "base/stl_util.h" |
| 15 #include "chrome/browser/prefs/pref_service.h" | 15 #include "chrome/browser/prefs/pref_service.h" |
| 16 #include "chrome/browser/profiles/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
| 17 #include "chrome/browser/themes/theme_service_factory.h" | 17 #include "chrome/browser/themes/theme_service_factory.h" |
| 18 #include "chrome/browser/ui/browser_list.h" | 18 #include "chrome/browser/ui/browser_list.h" |
| 19 #include "chrome/browser/ui/browser_window.h" | 19 #include "chrome/browser/ui/browser_window.h" |
| 20 #include "chrome/browser/ui/gtk/cairo_cached_surface.h" | 20 #include "chrome/browser/ui/gtk/cairo_cached_surface.h" |
| 21 #include "chrome/browser/ui/gtk/chrome_gtk_frame.h" | 21 #include "chrome/browser/ui/gtk/chrome_gtk_frame.h" |
| 22 #include "chrome/browser/ui/gtk/gtk_chrome_button.h" | 22 #include "chrome/browser/ui/gtk/gtk_chrome_button.h" |
| 23 #include "chrome/browser/ui/gtk/gtk_chrome_link_button.h" | 23 #include "chrome/browser/ui/gtk/gtk_chrome_link_button.h" |
| 24 #include "chrome/browser/ui/gtk/gtk_util.h" | 24 #include "chrome/browser/ui/gtk/gtk_util.h" |
| (...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1196 cairo_set_line_width(cr, 1.0); | 1196 cairo_set_line_width(cr, 1.0); |
| 1197 cairo_move_to(cr, start_x, widget->allocation.y); | 1197 cairo_move_to(cr, start_x, widget->allocation.y); |
| 1198 cairo_line_to(cr, start_x, | 1198 cairo_line_to(cr, start_x, |
| 1199 widget->allocation.y + widget->allocation.height); | 1199 widget->allocation.y + widget->allocation.height); |
| 1200 cairo_stroke(cr); | 1200 cairo_stroke(cr); |
| 1201 cairo_destroy(cr); | 1201 cairo_destroy(cr); |
| 1202 cairo_pattern_destroy(pattern); | 1202 cairo_pattern_destroy(pattern); |
| 1203 | 1203 |
| 1204 return TRUE; | 1204 return TRUE; |
| 1205 } | 1205 } |
| OLD | NEW |