Chromium Code Reviews| Index: chrome/browser/ui/input_window_dialog_linux.cc |
| diff --git a/chrome/browser/ui/input_window_dialog_linux.cc b/chrome/browser/ui/input_window_dialog_linux.cc |
| index 0109a2c8d225894bdafca7da5ebba2fa4c503480..800ea5c87f935893178e7aa28674d919b68cdb6a 100644 |
| --- a/chrome/browser/ui/input_window_dialog_linux.cc |
| +++ b/chrome/browser/ui/input_window_dialog_linux.cc |
| @@ -16,24 +16,20 @@ InputWindowDialog* InputWindowDialog::Create(gfx::NativeWindow parent, |
| const string16& window_title, |
| const string16& label, |
| const string16& contents, |
| - Delegate* delegate) { |
| + Delegate* delegate, |
| + ButtonType type) { |
| #if defined(USE_AURA) |
|
sky
2011/11/01 23:55:31
Add a TODO to this and the next one to support typ
tfarina
2011/11/02 00:05:42
Done.
|
| - return new InputWindowDialogWebUI(window_title, |
| - label, |
| - contents, |
| - delegate); |
| + return new InputWindowDialogWebUI(window_title, label, contents, delegate); |
| #else |
| if (ChromeWebUI::IsMoreWebUI()) { |
| - return new InputWindowDialogWebUI(window_title, |
| - label, |
| - contents, |
| - delegate); |
| + return new InputWindowDialogWebUI(window_title, label, contents, delegate); |
| } else { |
| return new InputWindowDialogGtk(parent, |
| UTF16ToUTF8(window_title), |
| UTF16ToUTF8(label), |
| UTF16ToUTF8(contents), |
| - delegate); |
| + delegate, |
| + type); |
| } |
| #endif |
| } |