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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/autofill_loading_shield_controller.h

Issue 73723002: [rAc OSX] Animate the dots in the "Loading ..." message. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean up new files Created 7 years, 1 month 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 2013 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_AUTOFILL_AUTOFILL_LOADING_SHIELD_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_LOADING_SHIELD_CONTROLLER_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 #include "base/mac/scoped_nsobject.h"
11 #include "base/memory/scoped_ptr.h"
12 #import "chrome/browser/ui/cocoa/autofill/autofill_layout.h"
13
14 class AutofillLoadingAnimationBridge;
15
16 @interface AutofillLoadingShieldController : NSViewController<AutofillLayout> {
17 @private
18 // The main label for the shield.
19 base::scoped_nsobject<NSTextField> message_;
20 // The animate dots that follow the |message_|.
21 base::scoped_nsobject<NSArray> dots_;
22
23 // C++ bridge class for animating the dots.
24 scoped_ptr<AutofillLoadingAnimationBridge> animationDriver_;
25 }
26
27 // Designated initializer.
28 - (id)init;
29
30 // Returns the current |message_|.
31 - (NSString*)message;
32
33 // Updates the |message_| to |message|.
34 - (void)setMessage:(NSString*)message;
35
36 @end
37
38 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_LOADING_SHIELD_CONTROLLER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698