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

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

Issue 17627005: mac: Remove unused includes of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: builds Created 7 years, 6 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) 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 #import "chrome/browser/ui/cocoa/info_bubble_view.h" 5 #import "chrome/browser/ui/cocoa/info_bubble_view.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/mac/scoped_nsobject.h"
9 #import "third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.h" 8 #import "third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.h"
10 9
11 @implementation InfoBubbleView 10 @implementation InfoBubbleView
12 11
13 @synthesize arrowLocation = arrowLocation_; 12 @synthesize arrowLocation = arrowLocation_;
14 @synthesize alignment = alignment_; 13 @synthesize alignment = alignment_;
15 @synthesize cornerFlags = cornerFlags_; 14 @synthesize cornerFlags = cornerFlags_;
16 15
17 - (id)initWithFrame:(NSRect)frameRect { 16 - (id)initWithFrame:(NSRect)frameRect {
18 if ((self = [super initWithFrame:frameRect])) { 17 if ((self = [super initWithFrame:frameRect])) {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 88
90 - (NSColor*)backgroundColor { 89 - (NSColor*)backgroundColor {
91 return backgroundColor_; 90 return backgroundColor_;
92 } 91 }
93 92
94 - (void)setBackgroundColor:(NSColor*)backgroundColor { 93 - (void)setBackgroundColor:(NSColor*)backgroundColor {
95 backgroundColor_.reset([backgroundColor retain]); 94 backgroundColor_.reset([backgroundColor retain]);
96 } 95 }
97 96
98 @end 97 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698