| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 15 matching lines...) Expand all Loading... |
| 26 #include "chrome/browser/ui/gtk/hover_controller_gtk.h" | 26 #include "chrome/browser/ui/gtk/hover_controller_gtk.h" |
| 27 #include "chrome/common/chrome_notification_types.h" | 27 #include "chrome/common/chrome_notification_types.h" |
| 28 #include "chrome/common/extensions/extension.h" | 28 #include "chrome/common/extensions/extension.h" |
| 29 #include "chrome/common/pref_names.h" | 29 #include "chrome/common/pref_names.h" |
| 30 #include "content/public/browser/notification_details.h" | 30 #include "content/public/browser/notification_details.h" |
| 31 #include "content/public/browser/notification_service.h" | 31 #include "content/public/browser/notification_service.h" |
| 32 #include "content/public/browser/notification_source.h" | 32 #include "content/public/browser/notification_source.h" |
| 33 #include "grit/theme_resources.h" | 33 #include "grit/theme_resources.h" |
| 34 #include "grit/theme_resources_standard.h" | 34 #include "grit/theme_resources_standard.h" |
| 35 #include "grit/ui_resources.h" | 35 #include "grit/ui_resources.h" |
| 36 #include "grit/ui_resources_standard.h" |
| 36 #include "third_party/skia/include/core/SkBitmap.h" | 37 #include "third_party/skia/include/core/SkBitmap.h" |
| 37 #include "third_party/skia/include/core/SkCanvas.h" | 38 #include "third_party/skia/include/core/SkCanvas.h" |
| 38 #include "third_party/skia/include/core/SkColor.h" | 39 #include "third_party/skia/include/core/SkColor.h" |
| 39 #include "third_party/skia/include/core/SkShader.h" | 40 #include "third_party/skia/include/core/SkShader.h" |
| 40 #include "ui/base/gtk/gtk_hig_constants.h" | 41 #include "ui/base/gtk/gtk_hig_constants.h" |
| 41 #include "ui/base/gtk/gtk_signal_registrar.h" | 42 #include "ui/base/gtk/gtk_signal_registrar.h" |
| 42 #include "ui/base/resource/resource_bundle.h" | 43 #include "ui/base/resource/resource_bundle.h" |
| 43 #include "ui/gfx/canvas.h" | 44 #include "ui/gfx/canvas.h" |
| 44 #include "ui/gfx/color_utils.h" | 45 #include "ui/gfx/color_utils.h" |
| 45 #include "ui/gfx/gtk_util.h" | 46 #include "ui/gfx/gtk_util.h" |
| (...skipping 1099 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1145 cairo_new_path(cr); | 1146 cairo_new_path(cr); |
| 1146 cairo_set_line_width(cr, 1.0); | 1147 cairo_set_line_width(cr, 1.0); |
| 1147 cairo_move_to(cr, start_x, allocation.y); | 1148 cairo_move_to(cr, start_x, allocation.y); |
| 1148 cairo_line_to(cr, start_x, allocation.y + allocation.height); | 1149 cairo_line_to(cr, start_x, allocation.y + allocation.height); |
| 1149 cairo_stroke(cr); | 1150 cairo_stroke(cr); |
| 1150 cairo_destroy(cr); | 1151 cairo_destroy(cr); |
| 1151 cairo_pattern_destroy(pattern); | 1152 cairo_pattern_destroy(pattern); |
| 1152 | 1153 |
| 1153 return TRUE; | 1154 return TRUE; |
| 1154 } | 1155 } |
| OLD | NEW |