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_controller.h" | 5 #import "chrome/browser/ui/cocoa/confirm_bubble_controller.h" |
6 | 6 |
7 #include "base/mac/mac_util.h" | |
8 #include "base/strings/sys_string_conversions.h" | 7 #include "base/strings/sys_string_conversions.h" |
9 #import "chrome/browser/ui/cocoa/browser_window_controller.h" | 8 #import "chrome/browser/ui/cocoa/browser_window_controller.h" |
10 #import "chrome/browser/ui/cocoa/confirm_bubble_cocoa.h" | 9 #import "chrome/browser/ui/cocoa/confirm_bubble_cocoa.h" |
11 #import "chrome/browser/ui/confirm_bubble_model.h" | 10 #import "chrome/browser/ui/confirm_bubble_model.h" |
12 #include "ui/gfx/image/image.h" | 11 #include "ui/gfx/image/image.h" |
13 #include "ui/gfx/point.h" | 12 #include "ui/gfx/point.h" |
14 | 13 |
15 @implementation ConfirmBubbleController | 14 @implementation ConfirmBubbleController |
16 | 15 |
17 - (id)initWithParent:(NSView*)parent | 16 - (id)initWithParent:(NSView*)parent |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 81 |
83 - (void)cancel { | 82 - (void)cancel { |
84 model_->Cancel(); | 83 model_->Cancel(); |
85 } | 84 } |
86 | 85 |
87 - (void)linkClicked { | 86 - (void)linkClicked { |
88 model_->LinkClicked(); | 87 model_->LinkClicked(); |
89 } | 88 } |
90 | 89 |
91 @end | 90 @end |
OLD | NEW |