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

Side by Side Diff: chrome/browser/ui/cocoa/intents/web_intent_progress_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, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_PROGRESS_VIEW_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_PROGRESS_VIEW_CONTROLLER_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 #include "base/memory/scoped_nsobject.h"
11 #import "chrome/browser/ui/cocoa/intents/web_intent_view_controller.h"
12
13 @class SpinnerProgressIndicator;
14
15 // The progress view shows a progress indicator and a label underneath it. The
16 // label is made by joining the title and the message.
17 @interface WebIntentProgressViewController : NSViewController
18 <WebIntentViewController> {
19 @private
20 scoped_nsobject<NSString> title_;
21 scoped_nsobject<NSString> message_;
22 scoped_nsobject<NSTextField> messageTextField_;
23 scoped_nsobject<SpinnerProgressIndicator> progressIndicator_;
24 }
25
26 - (SpinnerProgressIndicator*)progressIndicator;
27 - (void)setTitle:(NSString*)title;
28 - (void)setMessage:(NSString*)message;
29 - (void)setPercentDone:(int)percent;
30
31 @end
32
33 #endif // CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_PROGRESS_VIEW_CONTROLLER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698