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

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: BUTTON_TYPE_ and TODOs 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
« no previous file with comments | « chrome/browser/ui/input_window_dialog_gtk.cc ('k') | chrome/browser/ui/input_window_dialog_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3ac9010e7eacdb109aa0fe0170bec430ad43b540 100644
--- a/chrome/browser/ui/input_window_dialog_linux.cc
+++ b/chrome/browser/ui/input_window_dialog_linux.cc
@@ -16,24 +16,22 @@ 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)
- return new InputWindowDialogWebUI(window_title,
- label,
- contents,
- delegate);
+ // TODO(tfarina): Implement ButtonType into WebUI dialog too.
+ return new InputWindowDialogWebUI(window_title, label, contents, delegate);
#else
if (ChromeWebUI::IsMoreWebUI()) {
- return new InputWindowDialogWebUI(window_title,
- label,
- contents,
- delegate);
+ // TODO(tfarina): Implement ButtonType into WebUI dialog too.
+ return new InputWindowDialogWebUI(window_title, label, contents, delegate);
} else {
return new InputWindowDialogGtk(parent,
UTF16ToUTF8(window_title),
UTF16ToUTF8(label),
UTF16ToUTF8(contents),
- delegate);
+ delegate,
+ type);
}
#endif
}
« no previous file with comments | « chrome/browser/ui/input_window_dialog_gtk.cc ('k') | chrome/browser/ui/input_window_dialog_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698