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

Issue 1932433002: Update activity indicator from a light bar to a point (Closed)

Created:
4 years, 7 months ago by yiyix
Modified:
4 years, 7 months ago
Reviewers:
tdanderson, varkha, sky, bruthig
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

update activity indicator from a light bar to a point TEST=manual 1. Sets the shelf position to left, right and bottom 2. Uses --force-device-scale-factor to check the appearance of activity indicator at 2,3,4,5 3. Verifies if the activity indicator disappears when browser is closed. 4. Uses Gimp to measure the spacing BUG=595007 Committed: https://crrev.com/f2ec84d242e07a67019642b64560a374c5df36c3 Cr-Commit-Position: refs/heads/master@{#393897}

Patch Set 1 #

Total comments: 18

Patch Set 2 : add MaterialDesignController and address comments #

Total comments: 21

Patch Set 3 : address comments #

Patch Set 4 : add antialias flag to draw circle #

Total comments: 8

Patch Set 5 : address @varkha comments #

Total comments: 4

Patch Set 6 : add shelf material control and address comments #

Total comments: 3

Patch Set 7 : address comments #

Total comments: 2

Patch Set 8 : resolve compilation errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -3 lines) Patch
M ash/material_design/material_design_controller.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M ash/material_design/material_design_controller.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M ash/shelf/shelf_button.cc View 1 2 3 4 5 6 7 4 chunks +31 lines, -3 lines 0 comments Download

Messages

Total messages: 47 (16 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1932433002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1932433002/1
4 years, 7 months ago (2016-04-27 17:57:25 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 18:43:59 UTC) #7
bruthig
It appears the ShelfButton::BarView has an animation wired in to it to indicate the ShelfButton::State::STATE_ATTENTION ...
4 years, 7 months ago (2016-04-27 18:56:01 UTC) #8
varkha
https://codereview.chromium.org/1932433002/diff/1/ash/shelf/shelf_button.cc File ash/shelf/shelf_button.cc (right): https://codereview.chromium.org/1932433002/diff/1/ash/shelf/shelf_button.cc#newcode493 ash/shelf/shelf_button.cc:493: // ResourceBundle* rb = &ResourceBundle::GetSharedInstance(); nit: You probably want ...
4 years, 7 months ago (2016-04-28 16:49:04 UTC) #9
yiyix
On 2016/04/27 18:56:01, bruthig wrote: > It appears the ShelfButton::BarView has an animation wired in ...
4 years, 7 months ago (2016-05-02 15:51:43 UTC) #10
yiyix
https://codereview.chromium.org/1932433002/diff/1/ash/shelf/shelf_button.cc File ash/shelf/shelf_button.cc (right): https://codereview.chromium.org/1932433002/diff/1/ash/shelf/shelf_button.cc#newcode493 ash/shelf/shelf_button.cc:493: // ResourceBundle* rb = &ResourceBundle::GetSharedInstance(); On 2016/04/28 16:49:03, varkha ...
4 years, 7 months ago (2016-05-02 15:55:04 UTC) #11
yiyix
Add @tdanderson
4 years, 7 months ago (2016-05-02 16:12:49 UTC) #13
bruthig
lgtm
4 years, 7 months ago (2016-05-02 17:37:10 UTC) #14
tdanderson
LGTM with some nits below https://codereview.chromium.org/1932433002/diff/20001/ash/shelf/shelf_button.cc File ash/shelf/shelf_button.cc (right): https://codereview.chromium.org/1932433002/diff/20001/ash/shelf/shelf_button.cc#newcode497 ash/shelf/shelf_button.cc:497: if (MaterialDesignController::IsMaterial()) { varkha@, ...
4 years, 7 months ago (2016-05-02 17:58:35 UTC) #15
varkha
https://codereview.chromium.org/1932433002/diff/20001/ash/shelf/shelf_button.cc File ash/shelf/shelf_button.cc (right): https://codereview.chromium.org/1932433002/diff/20001/ash/shelf/shelf_button.cc#newcode42 ash/shelf/shelf_button.cc:42: const int kShelfIconHeight = 48; Is this defined / ...
4 years, 7 months ago (2016-05-02 18:13:59 UTC) #16
tdanderson
https://codereview.chromium.org/1932433002/diff/20001/ash/shelf/shelf_button.cc File ash/shelf/shelf_button.cc (right): https://codereview.chromium.org/1932433002/diff/20001/ash/shelf/shelf_button.cc#newcode497 ash/shelf/shelf_button.cc:497: if (MaterialDesignController::IsMaterial()) { On 2016/05/02 18:13:58, varkha wrote: > ...
4 years, 7 months ago (2016-05-02 18:19:55 UTC) #17
yiyix
https://codereview.chromium.org/1932433002/diff/20001/ash/shelf/shelf_button.cc File ash/shelf/shelf_button.cc (right): https://codereview.chromium.org/1932433002/diff/20001/ash/shelf/shelf_button.cc#newcode42 ash/shelf/shelf_button.cc:42: const int kShelfIconHeight = 48; On 2016/05/02 18:13:58, varkha ...
4 years, 7 months ago (2016-05-03 18:55:35 UTC) #18
varkha
I think this is almost looking good, just a couple small suggestions. https://codereview.chromium.org/1932433002/diff/60001/ash/shelf/shelf_button.cc File ash/shelf/shelf_button.cc ...
4 years, 7 months ago (2016-05-05 14:40:56 UTC) #20
yiyix
https://codereview.chromium.org/1932433002/diff/60001/ash/shelf/shelf_button.cc File ash/shelf/shelf_button.cc (right): https://codereview.chromium.org/1932433002/diff/60001/ash/shelf/shelf_button.cc#newcode497 ash/shelf/shelf_button.cc:497: gfx::Size size = gfx::Size(kShelfButtonSize, kShelfSize); On 2016/05/05 14:40:56, varkha ...
4 years, 7 months ago (2016-05-10 19:30:00 UTC) #21
yiyix
4 years, 7 months ago (2016-05-10 21:00:37 UTC) #23
varkha
LGTM with a nit. https://codereview.chromium.org/1932433002/diff/80001/ash/shelf/shelf_button.cc File ash/shelf/shelf_button.cc (right): https://codereview.chromium.org/1932433002/diff/80001/ash/shelf/shelf_button.cc#newcode47 ash/shelf/shelf_button.cc:47: // Canvas scale to ensures ...
4 years, 7 months ago (2016-05-10 21:04:11 UTC) #24
sky
https://codereview.chromium.org/1932433002/diff/80001/ash/shelf/shelf_button.cc File ash/shelf/shelf_button.cc (right): https://codereview.chromium.org/1932433002/diff/80001/ash/shelf/shelf_button.cc#newcode527 ash/shelf/shelf_button.cc:527: void ShelfButton::PaintIndicatorOnCanvas(gfx::Canvas* canvas, Make this a non-member function (see ...
4 years, 7 months ago (2016-05-12 15:27:03 UTC) #25
yiyix
https://codereview.chromium.org/1932433002/diff/80001/ash/shelf/shelf_button.cc File ash/shelf/shelf_button.cc (right): https://codereview.chromium.org/1932433002/diff/80001/ash/shelf/shelf_button.cc#newcode47 ash/shelf/shelf_button.cc:47: // Canvas scale to ensures that the activity indicator ...
4 years, 7 months ago (2016-05-13 22:24:11 UTC) #26
varkha
https://codereview.chromium.org/1932433002/diff/100001/ash/material_design/material_design_controller.h File ash/material_design/material_design_controller.h (right): https://codereview.chromium.org/1932433002/diff/100001/ash/material_design/material_design_controller.h#newcode44 ash/material_design/material_design_controller.h:44: // Returns true if shelf is using Material Design ...
4 years, 7 months ago (2016-05-13 23:01:26 UTC) #27
yiyix
https://codereview.chromium.org/1932433002/diff/100001/ash/material_design/material_design_controller.h File ash/material_design/material_design_controller.h (right): https://codereview.chromium.org/1932433002/diff/100001/ash/material_design/material_design_controller.h#newcode44 ash/material_design/material_design_controller.h:44: // Returns true if shelf is using Material Design ...
4 years, 7 months ago (2016-05-14 01:28:53 UTC) #28
varkha
Still lgtm.
4 years, 7 months ago (2016-05-14 05:08:52 UTC) #29
sky
LGTM
4 years, 7 months ago (2016-05-16 15:38:21 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1932433002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1932433002/120001
4 years, 7 months ago (2016-05-16 15:49:57 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/214139)
4 years, 7 months ago (2016-05-16 16:18:39 UTC) #34
varkha
https://codereview.chromium.org/1932433002/diff/120001/ash/shelf/shelf_button.cc File ash/shelf/shelf_button.cc (right): https://codereview.chromium.org/1932433002/diff/120001/ash/shelf/shelf_button.cc#newcode45 ash/shelf/shelf_button.cc:45: const int kIndicatorColor = SK_ColorWHITE; const SkColor instead of ...
4 years, 7 months ago (2016-05-16 16:37:11 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1932433002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1932433002/140001
4 years, 7 months ago (2016-05-16 18:12:24 UTC) #37
yiyix
https://codereview.chromium.org/1932433002/diff/120001/ash/shelf/shelf_button.cc File ash/shelf/shelf_button.cc (right): https://codereview.chromium.org/1932433002/diff/120001/ash/shelf/shelf_button.cc#newcode45 ash/shelf/shelf_button.cc:45: const int kIndicatorColor = SK_ColorWHITE; On 2016/05/16 16:37:11, varkha ...
4 years, 7 months ago (2016-05-16 18:13:10 UTC) #38
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-16 19:13:35 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1932433002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1932433002/140001
4 years, 7 months ago (2016-05-16 19:24:10 UTC) #43
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 7 months ago (2016-05-16 19:30:58 UTC) #45
commit-bot: I haz the power
4 years, 7 months ago (2016-05-16 19:33:07 UTC) #47
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/f2ec84d242e07a67019642b64560a374c5df36c3
Cr-Commit-Position: refs/heads/master@{#393897}

Powered by Google App Engine
This is Rietveld 408576698