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

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

Issue 6849030: Add support for multi resolution icons (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added comments Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/gtk/gtk_util.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) 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>
(...skipping 12 matching lines...) Expand all
23 #include "chrome/browser/ui/gtk/gtk_chrome_button.h" 23 #include "chrome/browser/ui/gtk/gtk_chrome_button.h"
24 #include "chrome/browser/ui/gtk/gtk_util.h" 24 #include "chrome/browser/ui/gtk/gtk_util.h"
25 #include "chrome/browser/ui/gtk/hover_controller_gtk.h" 25 #include "chrome/browser/ui/gtk/hover_controller_gtk.h"
26 #include "chrome/common/pref_names.h" 26 #include "chrome/common/pref_names.h"
27 #include "content/common/notification_details.h" 27 #include "content/common/notification_details.h"
28 #include "content/common/notification_service.h" 28 #include "content/common/notification_service.h"
29 #include "content/common/notification_source.h" 29 #include "content/common/notification_source.h"
30 #include "content/common/notification_type.h" 30 #include "content/common/notification_type.h"
31 #include "grit/app_resources.h" 31 #include "grit/app_resources.h"
32 #include "grit/theme_resources.h" 32 #include "grit/theme_resources.h"
33 #include "grit/theme_resources_standard.h"
33 #include "third_party/skia/include/core/SkBitmap.h" 34 #include "third_party/skia/include/core/SkBitmap.h"
34 #include "third_party/skia/include/core/SkCanvas.h" 35 #include "third_party/skia/include/core/SkCanvas.h"
35 #include "third_party/skia/include/core/SkColor.h" 36 #include "third_party/skia/include/core/SkColor.h"
36 #include "third_party/skia/include/core/SkShader.h" 37 #include "third_party/skia/include/core/SkShader.h"
37 #include "ui/base/gtk/gtk_signal_registrar.h" 38 #include "ui/base/gtk/gtk_signal_registrar.h"
38 #include "ui/base/resource/resource_bundle.h" 39 #include "ui/base/resource/resource_bundle.h"
39 #include "ui/gfx/canvas_skia.h" 40 #include "ui/gfx/canvas_skia.h"
40 #include "ui/gfx/color_utils.h" 41 #include "ui/gfx/color_utils.h"
41 #include "ui/gfx/gtk_util.h" 42 #include "ui/gfx/gtk_util.h"
42 #include "ui/gfx/skbitmap_operations.h" 43 #include "ui/gfx/skbitmap_operations.h"
(...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after
1133 cairo_set_line_width(cr, 1.0); 1134 cairo_set_line_width(cr, 1.0);
1134 cairo_move_to(cr, start_x, widget->allocation.y); 1135 cairo_move_to(cr, start_x, widget->allocation.y);
1135 cairo_line_to(cr, start_x, 1136 cairo_line_to(cr, start_x,
1136 widget->allocation.y + widget->allocation.height); 1137 widget->allocation.y + widget->allocation.height);
1137 cairo_stroke(cr); 1138 cairo_stroke(cr);
1138 cairo_destroy(cr); 1139 cairo_destroy(cr);
1139 cairo_pattern_destroy(pattern); 1140 cairo_pattern_destroy(pattern);
1140 1141
1141 return TRUE; 1142 return TRUE;
1142 } 1143 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/gtk/gtk_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698