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

Side by Side Diff: chrome/browser/ui/cocoa/confirm_bubble_cocoa.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/confirm_bubble_cocoa.h" 5 #import "chrome/browser/ui/cocoa/confirm_bubble_cocoa.h"
6 6
7 #include "base/strings/string16.h" 7 #include "base/strings/string16.h"
8 #include "chrome/browser/themes/theme_service.h" 8 #include "chrome/browser/themes/theme_service.h"
9 #import "chrome/browser/ui/cocoa/confirm_bubble_controller.h" 9 #import "chrome/browser/ui/cocoa/confirm_bubble_controller.h"
10 #include "chrome/browser/ui/confirm_bubble.h" 10 #include "chrome/browser/ui/confirm_bubble.h"
11 #include "chrome/browser/ui/confirm_bubble_model.h" 11 #include "chrome/browser/ui/confirm_bubble_model.h"
12 #import "third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.h" 12 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMNSBezierPath+RoundRect .h"
13 #include "ui/gfx/image/image.h" 13 #include "ui/gfx/image/image.h"
14 #include "ui/gfx/point.h" 14 #include "ui/gfx/point.h"
15 15
16 // The width for the message text. We break lines so the specified message fits 16 // The width for the message text. We break lines so the specified message fits
17 // into this width. 17 // into this width.
18 const int kMaxMessageWidth = 400; 18 const int kMaxMessageWidth = 400;
19 19
20 // The corner redius of this bubble view. 20 // The corner redius of this bubble view.
21 const int kBubbleCornerRadius = 3; 21 const int kBubbleCornerRadius = 3;
22 22
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 287
288 - (void)clickCancel { 288 - (void)clickCancel {
289 [self cancel:self]; 289 [self cancel:self];
290 } 290 }
291 291
292 - (void)clickLink { 292 - (void)clickLink {
293 [self textView:messageLabel_.get() clickedOnLink:nil atIndex:0]; 293 [self textView:messageLabel_.get() clickedOnLink:nil atIndex:0];
294 } 294 }
295 295
296 @end 296 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/bubble_view.mm ('k') | chrome/browser/ui/cocoa/constrained_window/constrained_window_alert.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698