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

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

Issue 1701005: bsd: refactor XDG bits of linux_util into a shared file. (Closed)
Patch Set: Created 10 years, 8 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
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_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/resource_bundle.h" 11 #include "app/resource_bundle.h"
12 #include "base/env_var.h" 12 #include "base/env_var.h"
13 #include "base/linux_util.h"
14 #include "base/stl_util-inl.h" 13 #include "base/stl_util-inl.h"
14 #include "base/xdg_util.h"
15 #include "chrome/browser/metrics/user_metrics.h" 15 #include "chrome/browser/metrics/user_metrics.h"
16 #include "chrome/browser/profile.h" 16 #include "chrome/browser/profile.h"
17 #include "chrome/browser/gtk/cairo_cached_surface.h" 17 #include "chrome/browser/gtk/cairo_cached_surface.h"
18 #include "chrome/browser/gtk/hover_controller_gtk.h" 18 #include "chrome/browser/gtk/hover_controller_gtk.h"
19 #include "chrome/browser/gtk/gtk_chrome_button.h" 19 #include "chrome/browser/gtk/gtk_chrome_button.h"
20 #include "chrome/browser/gtk/meta_frames.h" 20 #include "chrome/browser/gtk/meta_frames.h"
21 #include "chrome/browser/pref_service.h" 21 #include "chrome/browser/pref_service.h"
22 #include "chrome/common/pref_names.h" 22 #include "chrome/common/pref_names.h"
23 #include "chrome/common/notification_details.h" 23 #include "chrome/common/notification_details.h"
24 #include "chrome/common/notification_service.h" 24 #include "chrome/common/notification_service.h"
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 cairo_set_line_width(cr, 1.0); 811 cairo_set_line_width(cr, 1.0);
812 cairo_move_to(cr, start_x, widget->allocation.y); 812 cairo_move_to(cr, start_x, widget->allocation.y);
813 cairo_line_to(cr, start_x, 813 cairo_line_to(cr, start_x,
814 widget->allocation.y + widget->allocation.height); 814 widget->allocation.y + widget->allocation.height);
815 cairo_stroke(cr); 815 cairo_stroke(cr);
816 cairo_destroy(cr); 816 cairo_destroy(cr);
817 cairo_pattern_destroy(pattern); 817 cairo_pattern_destroy(pattern);
818 818
819 return TRUE; 819 return TRUE;
820 } 820 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698