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

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

Issue 6657003: Update a bunch of files to the new location of notification files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 9 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) 2009 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 #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 "base/scoped_nsobject.h" 9 #include "base/scoped_nsobject.h"
10 #include "chrome/common/notification_service.h" 10 #include "content/common/notification_service.h"
11 #include "grit/generated_resources.h" 11 #include "grit/generated_resources.h"
12 #include "ui/base/l10n/l10n_util_mac.h" 12 #include "ui/base/l10n/l10n_util_mac.h"
13 13
14 namespace { 14 namespace {
15 15
16 // The alpha of the bubble. 16 // The alpha of the bubble.
17 static const float kBubbleAlpha = 0.75; 17 static const float kBubbleAlpha = 0.75;
18 18
19 // The roundedness of the edges of our bubble. 19 // The roundedness of the edges of our bubble.
20 static const int kBubbleCornerRadius = 4; 20 static const int kBubbleCornerRadius = 4;
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 [[[NSColor blackColor] colorWithAlphaComponent:kBubbleAlpha] set]; 179 [[[NSColor blackColor] colorWithAlphaComponent:kBubbleAlpha] set];
180 [[NSBezierPath bezierPathWithRoundedRect:grayRect_ 180 [[NSBezierPath bezierPathWithRoundedRect:grayRect_
181 xRadius:kBubbleCornerRadius 181 xRadius:kBubbleCornerRadius
182 yRadius:kBubbleCornerRadius] fill]; 182 yRadius:kBubbleCornerRadius] fill];
183 183
184 [message_.get() drawInRect:textRect_]; 184 [message_.get() drawInRect:textRect_];
185 } 185 }
186 186
187 @end 187 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/theme_install_bubble_view.h ('k') | chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698