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

Unified Diff: chrome/browser/ui/input_window_dialog.h

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/gtk/bookmarks/bookmark_editor_gtk.cc ('k') | chrome/browser/ui/input_window_dialog_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/input_window_dialog.h
diff --git a/chrome/browser/ui/input_window_dialog.h b/chrome/browser/ui/input_window_dialog.h
index 9509d68a0e253de5009f370f41c4b9b7eec0f485..61b0dc4a4ec99c563adfd352b3fbd6dd4465c040 100644
--- a/chrome/browser/ui/input_window_dialog.h
+++ b/chrome/browser/ui/input_window_dialog.h
@@ -13,6 +13,11 @@
// Cross platform access to a modal input window.
class InputWindowDialog {
public:
+ enum ButtonType {
+ BUTTON_TYPE_ADD,
+ BUTTON_TYPE_SAVE,
+ };
+
class Delegate {
public:
virtual ~Delegate() {}
@@ -33,7 +38,8 @@ class InputWindowDialog {
const string16& window_title,
const string16& label,
const string16& contents,
- Delegate* delegate);
+ Delegate* delegate,
+ ButtonType type);
// Displays the window.
virtual void Show() = 0;
« no previous file with comments | « chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc ('k') | chrome/browser/ui/input_window_dialog_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698