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

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

Issue 6296012: Update references part 2: files in chrome/browser/ui/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
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/gtk/theme_install_bubble_view_gtk.h" 5 #include "chrome/browser/ui/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/ui/gtk/gtk_util.h"
11 #include "chrome/browser/gtk/rounded_window.h" 11 #include "chrome/browser/ui/gtk/rounded_window.h"
12 #include "chrome/common/notification_service.h" 12 #include "chrome/common/notification_service.h"
13 #include "chrome/common/notification_type.h" 13 #include "chrome/common/notification_type.h"
14 #include "grit/generated_resources.h" 14 #include "grit/generated_resources.h"
15 15
16 // Roundedness of bubble. 16 // Roundedness of bubble.
17 static const int kBubbleCornerRadius = 4; 17 static const int kBubbleCornerRadius = 4;
18 18
19 // Padding between border of bubble and text. 19 // Padding between border of bubble and text.
20 static const int kTextPadding = 8; 20 static const int kTextPadding = 8;
21 21
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/task_manager_gtk.cc ('k') | chrome/browser/ui/gtk/update_recommended_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698