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

Side by Side Diff: chrome/browser/ui/cocoa/theme_install_bubble_view.mm

Issue 5783006: Cleanup: Remove unneeded includes of notification_service.h in other headers.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #import "chrome/browser/ui/cocoa/theme_install_bubble_view.h" 7 #import "chrome/browser/ui/cocoa/theme_install_bubble_view.h"
8 8
9 #include "app/l10n_util_mac.h" 9 #include "app/l10n_util_mac.h"
10 #include "base/scoped_nsobject.h" 10 #include "base/scoped_nsobject.h"
11 #include "chrome/common/notification_service.h"
11 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
12 13
13 namespace { 14 namespace {
14 15
15 // The alpha of the bubble. 16 // The alpha of the bubble.
16 static const float kBubbleAlpha = 0.75; 17 static const float kBubbleAlpha = 0.75;
17 18
18 // The roundedness of the edges of our bubble. 19 // The roundedness of the edges of our bubble.
19 static const int kBubbleCornerRadius = 4; 20 static const int kBubbleCornerRadius = 4;
20 21
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 178
178 [[[NSColor blackColor] colorWithAlphaComponent:kBubbleAlpha] set]; 179 [[[NSColor blackColor] colorWithAlphaComponent:kBubbleAlpha] set];
179 [[NSBezierPath bezierPathWithRoundedRect:grayRect_ 180 [[NSBezierPath bezierPathWithRoundedRect:grayRect_
180 xRadius:kBubbleCornerRadius 181 xRadius:kBubbleCornerRadius
181 yRadius:kBubbleCornerRadius] fill]; 182 yRadius:kBubbleCornerRadius] fill];
182 183
183 [message_.get() drawInRect:textRect_]; 184 [message_.get() drawInRect:textRect_];
184 } 185 }
185 186
186 @end 187 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/theme_install_bubble_view.h ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698