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

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: 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.h
diff --git a/chrome/browser/ui/input_window_dialog.h b/chrome/browser/ui/input_window_dialog.h
index 9509d68a0e253de5009f370f41c4b9b7eec0f485..0869ad67c01be70ba0d0486ba938961d79b237e7 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 {
+ BT_ADD,
sky 2011/11/01 23:55:31 BT->BUTTON_TYPE_
tfarina 2011/11/02 00:05:42 Done.
+ BT_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;

Powered by Google App Engine
This is Rietveld 408576698