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; |