Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1138)

Unified Diff: chrome/browser/ui/input_window_dialog_linux.cc

Issue 8372038: gtk/bookmarks: Update the label of some dialog buttons. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sky review -> enum ButtonType Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
}

Powered by Google App Engine
This is Rietveld 408576698