Chromium Code Reviews| 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; |