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

Side by Side Diff: chrome/browser/ui/cocoa/spinner_view.h

Issue 1048733004: Add a Material Design Circular Activity Indicator (Spinner) view for Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change to mono-color, rounded endings per UX. Created 5 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/spinner_view.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 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_SPINNER_VIEW_H_
6 #define CHROME_BROWSER_UI_COCOA_SPINNER_VIEW_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 #import "base/mac/scoped_nsobject.h"
11
12 // A view that displays a Material Design Circular Activity Indicator (aka a
13 // "spinner") for Mac Chrome. To use, create a SpinnerView of the desired size
14 // and add to a view hierarchy. SpinnerView uses Core Animation to achieve GPU-
15 // accelerated animation and smooth scaling to any size.
16 @interface SpinnerView : NSView {
17 @private
18 bool isAnimating_;
19 }
20
21 @end
22
23 #endif // CHROME_BROWSER_UI_COCOA_SPINNER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/spinner_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698