| 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 #include "chrome/browser/ui/simple_message_box.h" | 5 #include "chrome/browser/ui/simple_message_box.h" |
| 6 | 6 |
| 7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
| 8 | 8 |
| 9 #include "base/mac/scoped_nsobject.h" | 9 #include "base/mac/scoped_nsobject.h" |
| 10 #include "base/strings/sys_string_conversions.h" | 10 #include "base/strings/sys_string_conversions.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 return false; | 77 return false; |
| 78 } | 78 } |
| 79 | 79 |
| 80 MessageBoxResult ShowQuestionMessageBox(gfx::NativeWindow parent, | 80 MessageBoxResult ShowQuestionMessageBox(gfx::NativeWindow parent, |
| 81 const base::string16& title, | 81 const base::string16& title, |
| 82 const base::string16& message) { | 82 const base::string16& message) { |
| 83 return ShowMessageBox(parent, title, message, base::string16(), | 83 return ShowMessageBox(parent, title, message, base::string16(), |
| 84 MESSAGE_BOX_TYPE_QUESTION); | 84 MESSAGE_BOX_TYPE_QUESTION); |
| 85 } | 85 } |
| 86 | 86 |
| 87 bool CloseMessageBoxForTest(bool accept) { |
| 88 NOTIMPLEMENTED(); |
| 89 return false; |
| 90 } |
| 91 |
| 87 } // namespace chrome | 92 } // namespace chrome |
| OLD | NEW |