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

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

Issue 107933006: Get rid of ui_cocoa_third_party_toolkits target from ui.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mark review Created 7 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) 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 #import "third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.h" 8 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMNSBezierPath+RoundRect .h"
9 9
10 @implementation InfoBubbleView 10 @implementation InfoBubbleView
11 11
12 @synthesize arrowLocation = arrowLocation_; 12 @synthesize arrowLocation = arrowLocation_;
13 @synthesize alignment = alignment_; 13 @synthesize alignment = alignment_;
14 @synthesize cornerFlags = cornerFlags_; 14 @synthesize cornerFlags = cornerFlags_;
15 15
16 - (id)initWithFrame:(NSRect)frameRect { 16 - (id)initWithFrame:(NSRect)frameRect {
17 if ((self = [super initWithFrame:frameRect])) { 17 if ((self = [super initWithFrame:frameRect])) {
18 arrowLocation_ = info_bubble::kTopLeft; 18 arrowLocation_ = info_bubble::kTopLeft;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 - (NSColor*)backgroundColor { 104 - (NSColor*)backgroundColor {
105 return backgroundColor_; 105 return backgroundColor_;
106 } 106 }
107 107
108 - (void)setBackgroundColor:(NSColor*)backgroundColor { 108 - (void)setBackgroundColor:(NSColor*)backgroundColor {
109 backgroundColor_.reset([backgroundColor retain]); 109 backgroundColor_.reset([backgroundColor retain]);
110 } 110 }
111 111
112 @end 112 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/hung_renderer_controller.mm ('k') | chrome/browser/ui/cocoa/info_bubble_window.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698