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

Unified Diff: chrome/browser/ui/cocoa/intents/web_intent_picker_view_controller.h

Issue 11009017: Mac Web Intents Part 11: Progress view (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: a Created 8 years, 3 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/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;

Powered by Google App Engine
This is Rietveld 408576698