| OLD | NEW |
| 1 // Copyright (c) 2010 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/gtk/theme_install_bubble_view_gtk.h" | 5 #include "chrome/browser/gtk/theme_install_bubble_view_gtk.h" |
| 6 | 6 |
| 7 #include <math.h> | 7 #include <math.h> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "chrome/browser/gtk/gtk_util.h" | 10 #include "chrome/browser/gtk/gtk_util.h" |
| 11 #include "chrome/browser/gtk/rounded_window.h" | 11 #include "chrome/browser/gtk/rounded_window.h" |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 0, M_PI_2); | 176 0, M_PI_2); |
| 177 cairo_arc(cr, inner_rect.x(), inner_rect.bottom(), inset, | 177 cairo_arc(cr, inner_rect.x(), inner_rect.bottom(), inset, |
| 178 M_PI_2, M_PI); | 178 M_PI_2, M_PI); |
| 179 | 179 |
| 180 cairo_set_source_rgba(cr, 0.0, 0.0, 0.0, kBubbleOpacity); | 180 cairo_set_source_rgba(cr, 0.0, 0.0, 0.0, kBubbleOpacity); |
| 181 cairo_fill(cr); | 181 cairo_fill(cr); |
| 182 cairo_destroy(cr); | 182 cairo_destroy(cr); |
| 183 | 183 |
| 184 return FALSE; | 184 return FALSE; |
| 185 } | 185 } |
| OLD | NEW |