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

Issue 2089263002: [top-chrome-md] Allows UpdateMaterialDesignColors to be called before MDC::Initialize() (Closed)

Created:
4 years, 6 months ago by varkha
Modified:
4 years, 6 months ago
Reviewers:
sadrul, Evan Stade
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[top-chrome-md] Allows UpdateMaterialDesignColors to be called before MDC::Initialize() BUG=622234 Committed: https://crrev.com/69730710ade45f4cb7502f7b0ffff1b09c6a4ec5 Cr-Commit-Position: refs/heads/master@{#401707}

Patch Set 1 #

Total comments: 2

Patch Set 2 : [top-chrome-md] Allows UpdateMaterialDesignColors to be called before MDC::Initialize() (nits) #

Patch Set 3 : [top-chrome-md] Allows UpdateMaterialDesignColors to be called before MDC::Initialize() (delay sign… #

Patch Set 4 : [top-chrome-md] Allows UpdateMaterialDesignColors to be called before MDC::Initialize() (back to Pa… #

Total comments: 2

Patch Set 5 : [top-chrome-md] Allows UpdateMaterialDesignColors to be called before MDC::Initialize() (doc) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -8 lines) Patch
M chrome/browser/ui/libgtk2ui/gtk2_ui.cc View 1 3 1 chunk +11 lines, -6 lines 0 comments Download
M ui/base/material_design/material_design_controller.h View 1 2 3 4 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 32 (10 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/2089263002/1
4 years, 6 months ago (2016-06-22 16:55:57 UTC) #2
varkha
estade, Can you please take a look? Thanks!
4 years, 6 months ago (2016-06-22 16:57:32 UTC) #4
Evan Stade
lgtm https://codereview.chromium.org/2089263002/diff/1/chrome/browser/ui/libgtk2ui/gtk2_ui.cc File chrome/browser/ui/libgtk2ui/gtk2_ui.cc (right): https://codereview.chromium.org/2089263002/diff/1/chrome/browser/ui/libgtk2ui/gtk2_ui.cc#newcode999 chrome/browser/ui/libgtk2ui/gtk2_ui.cc:999: if (!ui::MaterialDesignController::is_mode_initialized()) nit, I'd combine this with the ...
4 years, 6 months ago (2016-06-22 17:17:34 UTC) #5
varkha
https://codereview.chromium.org/2089263002/diff/1/chrome/browser/ui/libgtk2ui/gtk2_ui.cc File chrome/browser/ui/libgtk2ui/gtk2_ui.cc (right): https://codereview.chromium.org/2089263002/diff/1/chrome/browser/ui/libgtk2ui/gtk2_ui.cc#newcode999 chrome/browser/ui/libgtk2ui/gtk2_ui.cc:999: if (!ui::MaterialDesignController::is_mode_initialized()) On 2016/06/22 17:17:34, Evan Stade wrote: > ...
4 years, 6 months ago (2016-06-22 17:23:31 UTC) #6
varkha
+sadrul@ for an added accessor in ui/base/material_design/material_design_controller.h.
4 years, 6 months ago (2016-06-22 17:24:33 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2089263002/20001
4 years, 6 months ago (2016-06-22 17:25:14 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-22 19:01:07 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2089263002/40001
4 years, 6 months ago (2016-06-22 23:05:18 UTC) #14
varkha
estade@, do you agree that this look better?
4 years, 6 months ago (2016-06-22 23:05:31 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-22 23:50:37 UTC) #17
Evan Stade
On 2016/06/22 23:05:31, varkha wrote: > estade@, do you agree that this look better? I ...
4 years, 6 months ago (2016-06-23 00:29:27 UTC) #18
varkha
On 2016/06/23 00:29:27, Evan Stade wrote: > On 2016/06/22 23:05:31, varkha wrote: > > estade@, ...
4 years, 6 months ago (2016-06-23 00:38:12 UTC) #19
Evan Stade
On 2016/06/23 00:38:12, varkha wrote: > On 2016/06/23 00:29:27, Evan Stade wrote: > > On ...
4 years, 6 months ago (2016-06-23 00:39:53 UTC) #20
sadrul
On 2016/06/23 00:39:53, Evan Stade wrote: > On 2016/06/23 00:38:12, varkha wrote: > > On ...
4 years, 6 months ago (2016-06-23 03:38:50 UTC) #21
varkha
On 2016/06/23 00:39:53, Evan Stade wrote: > how do you know there's going to be ...
4 years, 6 months ago (2016-06-23 14:56:24 UTC) #22
Evan Stade
> If LoadGtkValues() triggers a theme-change signal (which probably happens if no > other gtk ...
4 years, 6 months ago (2016-06-23 17:23:21 UTC) #23
varkha
Thanks estade@. sadrul@, I've reverted to Patch Set 2. Do you think this would OK ...
4 years, 6 months ago (2016-06-23 19:25:27 UTC) #24
sadrul
sure. this lgtm too https://codereview.chromium.org/2089263002/diff/60001/ui/base/material_design/material_design_controller.h File ui/base/material_design/material_design_controller.h (right): https://codereview.chromium.org/2089263002/diff/60001/ui/base/material_design/material_design_controller.h#newcode54 ui/base/material_design/material_design_controller.h:54: static bool is_mode_initialized_; This is ...
4 years, 6 months ago (2016-06-23 19:30:29 UTC) #25
varkha
https://codereview.chromium.org/2089263002/diff/60001/ui/base/material_design/material_design_controller.h File ui/base/material_design/material_design_controller.h (right): https://codereview.chromium.org/2089263002/diff/60001/ui/base/material_design/material_design_controller.h#newcode54 ui/base/material_design/material_design_controller.h:54: static bool is_mode_initialized_; On 2016/06/23 19:30:29, sadrul wrote: > ...
4 years, 6 months ago (2016-06-23 19:40:03 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2089263002/80001
4 years, 6 months ago (2016-06-23 19:40:52 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-23 20:37:55 UTC) #30
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 20:41:30 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/69730710ade45f4cb7502f7b0ffff1b09c6a4ec5
Cr-Commit-Position: refs/heads/master@{#401707}

Powered by Google App Engine
This is Rietveld 408576698