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

Issue 1048733004: Add a Material Design Circular Activity Indicator (Spinner) view for Mac. (Closed)

Created:
5 years, 8 months ago by shrike
Modified:
5 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a Material Design Circular Activity Indicator (Spinner) view for Mac. BUG=471829 Committed: https://crrev.com/b68239b76868fa5aa3497d723c0f2aa4ca25c7ca Cr-Commit-Position: refs/heads/master@{#323248}

Patch Set 1 #

Total comments: 47

Patch Set 2 : Fix nits and address other comments. #

Total comments: 12

Patch Set 3 : Fix nits and rename class to SpinnerView. #

Total comments: 58

Patch Set 4 : Fix nits. #

Patch Set 5 : Fix two more nits. #

Total comments: 25

Patch Set 6 : Fix more nits. #

Patch Set 7 : Change to mono-color, rounded endings per UX. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+350 lines, -0 lines) Patch
A chrome/browser/ui/cocoa/spinner_view.h View 1 2 3 4 5 6 1 chunk +23 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/spinner_view.mm View 1 2 3 4 5 6 1 chunk +255 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/spinner_view_unittest.mm View 1 2 3 4 1 chunk +69 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (4 generated)
shrike
Please take a look.
5 years, 8 months ago (2015-03-30 22:19:23 UTC) #2
groby-ooo-7-16
Thank you! Coming back with a bit of nit-picking, and a few questions to help ...
5 years, 8 months ago (2015-03-30 23:28:31 UTC) #3
groby-ooo-7-16
One more on CGColors, and a few comments on the tests. https://codereview.chromium.org/1048733004/diff/1/chrome/browser/ui/cocoa/circular_activity_indicator_view.mm File chrome/browser/ui/cocoa/circular_activity_indicator_view.mm (right): ...
5 years, 8 months ago (2015-03-30 23:42:07 UTC) #4
shrike
PTAL https://codereview.chromium.org/1048733004/diff/1/chrome/browser/ui/cocoa/circular_activity_indicator_view.h File chrome/browser/ui/cocoa/circular_activity_indicator_view.h (right): https://codereview.chromium.org/1048733004/diff/1/chrome/browser/ui/cocoa/circular_activity_indicator_view.h#newcode9 chrome/browser/ui/cocoa/circular_activity_indicator_view.h:9: #import <QuartzCore/QuartzCore.h> On 2015/03/30 23:28:30, groby wrote: > ...
5 years, 8 months ago (2015-03-31 07:05:54 UTC) #5
groby-ooo-7-16
LGTM w/ nits https://codereview.chromium.org/1048733004/diff/1/chrome/browser/ui/cocoa/circular_activity_indicator_view.mm File chrome/browser/ui/cocoa/circular_activity_indicator_view.mm (right): https://codereview.chromium.org/1048733004/diff/1/chrome/browser/ui/cocoa/circular_activity_indicator_view.mm#newcode22 chrome/browser/ui/cocoa/circular_activity_indicator_view.mm:22: @implementation CircularActivityIndicatorView On 2015/03/31 07:05:53, shrike ...
5 years, 8 months ago (2015-03-31 23:07:01 UTC) #6
shrike
https://codereview.chromium.org/1048733004/diff/20001/chrome/browser/ui/cocoa/circular_activity_indicator_view.h File chrome/browser/ui/cocoa/circular_activity_indicator_view.h (right): https://codereview.chromium.org/1048733004/diff/20001/chrome/browser/ui/cocoa/circular_activity_indicator_view.h#newcode16 chrome/browser/ui/cocoa/circular_activity_indicator_view.h:16: bool is_animating_; On 2015/03/31 23:07:01, groby wrote: > nit: ...
5 years, 8 months ago (2015-04-01 15:30:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048733004/40001
5 years, 8 months ago (2015-04-01 15:31:14 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-01 16:04:28 UTC) #11
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/b68239b76868fa5aa3497d723c0f2aa4ca25c7ca Cr-Commit-Position: refs/heads/master@{#323248}
5 years, 8 months ago (2015-04-01 16:05:36 UTC) #12
Robert Sesek
Sorry, there are a lot of style issues here. This CL is not lgtm. https://codereview.chromium.org/1048733004/diff/40001/chrome/browser/ui/cocoa/spinner_view.h ...
5 years, 8 months ago (2015-04-01 16:25:03 UTC) #14
shrike
PTAL https://codereview.chromium.org/1048733004/diff/40001/chrome/browser/ui/cocoa/spinner_view.h File chrome/browser/ui/cocoa/spinner_view.h (right): https://codereview.chromium.org/1048733004/diff/40001/chrome/browser/ui/cocoa/spinner_view.h#newcode10 chrome/browser/ui/cocoa/spinner_view.h:10: #include "base/mac/scoped_nsobject.h" On 2015/04/01 16:25:01, Robert Sesek wrote: ...
5 years, 8 months ago (2015-04-01 20:55:55 UTC) #15
Robert Sesek
Looking much more stylish now! https://codereview.chromium.org/1048733004/diff/80001/chrome/browser/ui/cocoa/spinner_view.h File chrome/browser/ui/cocoa/spinner_view.h (right): https://codereview.chromium.org/1048733004/diff/80001/chrome/browser/ui/cocoa/spinner_view.h#newcode12 chrome/browser/ui/cocoa/spinner_view.h:12: @interface SpinnerView : NSView ...
5 years, 8 months ago (2015-04-02 19:58:36 UTC) #16
shrike
> Looking much more stylish now! :-) PTAL https://codereview.chromium.org/1048733004/diff/80001/chrome/browser/ui/cocoa/spinner_view.h File chrome/browser/ui/cocoa/spinner_view.h (right): https://codereview.chromium.org/1048733004/diff/80001/chrome/browser/ui/cocoa/spinner_view.h#newcode12 chrome/browser/ui/cocoa/spinner_view.h:12: @interface ...
5 years, 8 months ago (2015-04-02 21:14:58 UTC) #17
groby-ooo-7-16
My apologies for missing all these. C++ desensitization :)
5 years, 8 months ago (2015-04-02 21:15:34 UTC) #18
shrike
Converted from 4-color to 1-color (blue), and rounded ends vs. square, per UX. PTAL.
5 years, 8 months ago (2015-04-03 18:38:14 UTC) #19
Evan Stade
On 2015/04/03 18:38:14, shrike wrote: > Converted from 4-color to 1-color (blue), and rounded ends ...
5 years, 8 months ago (2015-04-03 18:38:54 UTC) #20
shrike
5 years, 8 months ago (2015-04-03 20:47:28 UTC) #21
Message was sent while issue was closed.
On 2015/04/03 18:38:54, Evan Stade wrote:
> On 2015/04/03 18:38:14, shrike wrote:
> > Converted from 4-color to 1-color (blue), and rounded ends vs. square, per
UX.
> > 
> > PTAL.
> 
> you should upload a different CL (i.e. create a different git branch and
> rietveld issue)

Follow-up issue is https://codereview.chromium.org/1057393003/.

Powered by Google App Engine
This is Rietveld 408576698