OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "chrome/browser/app_modal_dialog.h" | 5 #include "chrome/browser/app_modal_dialog.h" |
6 | 6 |
7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
8 | 8 |
| 9 #include "app/l10n_util.h" |
9 #include "base/sys_string_conversions.h" | 10 #include "base/sys_string_conversions.h" |
10 #include "chrome/common/l10n_util.h" | |
11 #include "chrome/common/message_box_flags.h" | 11 #include "chrome/common/message_box_flags.h" |
12 #include "grit/generated_resources.h" | 12 #include "grit/generated_resources.h" |
13 | 13 |
14 // Helper object that receives the notification that the dialog/sheet is | 14 // Helper object that receives the notification that the dialog/sheet is |
15 // going away. Is responsible for cleaning itself up. | 15 // going away. Is responsible for cleaning itself up. |
16 @interface AppModalDialogHelper : NSObject | 16 @interface AppModalDialogHelper : NSObject |
17 @end | 17 @end |
18 | 18 |
19 @implementation AppModalDialogHelper | 19 @implementation AppModalDialogHelper |
20 // |contextInfo| is the bridge back to the C++ AppModalDialog. When complete, | 20 // |contextInfo| is the bridge back to the C++ AppModalDialog. When complete, |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 return 0; | 98 return 0; |
99 } | 99 } |
100 | 100 |
101 void AppModalDialog::AcceptWindow() { | 101 void AppModalDialog::AcceptWindow() { |
102 NOTIMPLEMENTED(); | 102 NOTIMPLEMENTED(); |
103 } | 103 } |
104 | 104 |
105 void AppModalDialog::CancelWindow() { | 105 void AppModalDialog::CancelWindow() { |
106 NOTIMPLEMENTED(); | 106 NOTIMPLEMENTED(); |
107 } | 107 } |
OLD | NEW |