OLD | NEW |
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 #import "base/mac/cocoa_protocols.h" | |
8 #include "base/string16.h" | 7 #include "base/string16.h" |
9 #include "chrome/browser/themes/theme_service.h" | 8 #include "chrome/browser/themes/theme_service.h" |
10 #import "chrome/browser/ui/cocoa/confirm_bubble_controller.h" | 9 #import "chrome/browser/ui/cocoa/confirm_bubble_controller.h" |
11 #include "chrome/browser/ui/confirm_bubble.h" | 10 #include "chrome/browser/ui/confirm_bubble.h" |
12 #include "chrome/browser/ui/confirm_bubble_model.h" | 11 #include "chrome/browser/ui/confirm_bubble_model.h" |
13 #import "third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.h" | 12 #import "third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.h" |
14 #include "ui/gfx/image/image.h" | 13 #include "ui/gfx/image/image.h" |
15 #include "ui/gfx/point.h" | 14 #include "ui/gfx/point.h" |
16 | 15 |
17 namespace { | 16 namespace { |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 | 294 |
296 - (void)clickCancel { | 295 - (void)clickCancel { |
297 [self cancel:self]; | 296 [self cancel:self]; |
298 } | 297 } |
299 | 298 |
300 - (void)clickLink { | 299 - (void)clickLink { |
301 [self textView:messageLabel_.get() clickedOnLink:nil atIndex:0]; | 300 [self textView:messageLabel_.get() clickedOnLink:nil atIndex:0]; |
302 } | 301 } |
303 | 302 |
304 @end | 303 @end |
OLD | NEW |