Chromium Code Reviews| Index: chrome/browser/ui/cocoa/intents/web_intent_picker_view_controller.h |
| diff --git a/chrome/browser/ui/cocoa/intents/web_intent_picker_view_controller.h b/chrome/browser/ui/cocoa/intents/web_intent_picker_view_controller.h |
| index e97bb3c64c791fe79ab82348124c0069dc1a35c6..40870ca0eca62843b8eb7a4b9766457e23f56bdb 100644 |
| --- a/chrome/browser/ui/cocoa/intents/web_intent_picker_view_controller.h |
| +++ b/chrome/browser/ui/cocoa/intents/web_intent_picker_view_controller.h |
| @@ -12,9 +12,12 @@ |
| class WebIntentPickerCocoa2; |
| @class WebIntentViewControllerMessage; |
| +@class WebIntentViewControllerProgress; |
| enum WebIntentPickerState { |
| + PICKER_STATE_WAITING, |
| PICKER_STATE_NO_SERVICE, |
| + PICKER_STATE_INSTALLING_EXTENSION, |
|
Nico
2012/10/02 03:47:25
(this value might not belong to this cl? not an is
Nico
2012/10/02 03:47:25
Would these enums be useful for the other UIs too?
sail
2012/10/10 02:00:10
The progress UI is used for two states, waiting an
sail
2012/10/10 02:00:10
Not sure, I think Rachel and Greg are still doing
|
| }; |
| // Manages the web intent picker UI. The view is meant to be embedded in either |
| @@ -27,6 +30,8 @@ enum WebIntentPickerState { |
| scoped_nsobject<WebIntentViewControllerMessage> |
| messageViewController_; |
| + scoped_nsobject<WebIntentViewControllerProgress> |
| + progressViewController_; |
| } |
| - (id)initWithPicker:(WebIntentPickerCocoa2*)picker; |
| @@ -35,6 +40,7 @@ enum WebIntentPickerState { |
| - (WebIntentPickerState)state; |
| - (WebIntentViewControllerMessage*)messageViewController; |
| +- (WebIntentViewControllerProgress*)progressViewController; |
| // Update the dialog state and perform layout. |
| - (void)update; |