Index: chrome/browser/ui/cocoa/intents/web_intent_progress_view_controller.h |
diff --git a/chrome/browser/ui/cocoa/intents/web_intent_progress_view_controller.h b/chrome/browser/ui/cocoa/intents/web_intent_progress_view_controller.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ede8f413eca4675312a4e75fe35df1956b2e585b |
--- /dev/null |
+++ b/chrome/browser/ui/cocoa/intents/web_intent_progress_view_controller.h |
@@ -0,0 +1,33 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_PROGRESS_VIEW_CONTROLLER_H_ |
+#define CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_PROGRESS_VIEW_CONTROLLER_H_ |
+ |
+#import <Cocoa/Cocoa.h> |
+ |
+#include "base/memory/scoped_nsobject.h" |
+#import "chrome/browser/ui/cocoa/intents/web_intent_view_controller.h" |
+ |
+@class SpinnerProgressIndicator; |
+ |
+// The progress view shows a progress indicator and a label underneath it. The |
+// label is made by joining the title and the message. |
+@interface WebIntentProgressViewController : NSViewController |
+ <WebIntentViewController> { |
+ @private |
+ scoped_nsobject<NSString> title_; |
+ scoped_nsobject<NSString> message_; |
+ scoped_nsobject<NSTextField> messageTextField_; |
+ scoped_nsobject<SpinnerProgressIndicator> progressIndicator_; |
+} |
+ |
+- (SpinnerProgressIndicator*)progressIndicator; |
+- (void)setTitle:(NSString*)title; |
+- (void)setMessage:(NSString*)message; |
+- (void)setPercentDone:(int)percent; |
+ |
+@end |
+ |
+#endif // CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_PROGRESS_VIEW_CONTROLLER_H_ |