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

Issue 1108333002: Compile-time and run-time flags for top chrome material design. (Closed)

Created:
5 years, 7 months ago by girard
Modified:
5 years, 6 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

Compile-time and run-time flags for top chrome material design. Compile time flag controls the inclusion of both md and regular assets. Run-time flag (only available when the compile-time-flag is enabled) determines which assets we use. BUG=458662 Committed: https://crrev.com/fca876aa8f6905a75976ef0e15338b896d1a64e6 Cr-Commit-Position: refs/heads/master@{#331187}

Patch Set 1 #

Patch Set 2 : Code clean-up #

Total comments: 2

Patch Set 3 : Code clean-up #

Patch Set 4 : Add missing histograms.xml #

Total comments: 1

Patch Set 5 : Corrected histograms.xml #

Patch Set 6 : Rebase #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -0 lines) Patch
M build/common.gypi View 1 2 3 4 5 6 chunks +14 lines, -0 lines 0 comments Download
M build/config/BUILD.gn View 1 2 3 4 5 1 chunk +3 lines, -0 lines 1 comment Download
M build/config/ui.gni View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 2 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (13 generated)
girard
FYI
5 years, 7 months ago (2015-04-28 14:32:34 UTC) #2
tdanderson
+Jon and +Ben
5 years, 7 months ago (2015-05-11 16:55:25 UTC) #4
bruthig
https://codereview.chromium.org/1108333002/diff/40001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/1108333002/diff/40001/chrome/browser/about_flags.cc#newcode894 chrome/browser/about_flags.cc:894: ENABLE_DISABLE_VALUE_TYPE( How come you aren't using a tri-state flag ...
5 years, 7 months ago (2015-05-11 17:12:21 UTC) #5
girard
https://codereview.chromium.org/1108333002/diff/40001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/1108333002/diff/40001/chrome/browser/about_flags.cc#newcode894 chrome/browser/about_flags.cc:894: ENABLE_DISABLE_VALUE_TYPE( On 2015/05/11 17:12:20, bruthig wrote: > How come ...
5 years, 7 months ago (2015-05-11 20:15:45 UTC) #6
jonross
On 2015/05/11 20:15:45, girard wrote: > https://codereview.chromium.org/1108333002/diff/40001/chrome/browser/about_flags.cc > File chrome/browser/about_flags.cc (right): > > https://codereview.chromium.org/1108333002/diff/40001/chrome/browser/about_flags.cc#newcode894 > ...
5 years, 7 months ago (2015-05-20 17:14:04 UTC) #8
girard
PTAL
5 years, 7 months ago (2015-05-20 18:27:20 UTC) #10
bruthig
lgtm
5 years, 7 months ago (2015-05-20 19:25:05 UTC) #11
cpu_(ooo_6.6-7.5)
lgtm
5 years, 7 months ago (2015-05-20 23:56:47 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1108333002/60001
5 years, 7 months ago (2015-05-21 13:31:45 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/20142)
5 years, 7 months ago (2015-05-21 17:27:25 UTC) #16
girard
asvitkine@chromium.org: Please review changes in histograms.xml (I neglected to add this in the original patchset. ...
5 years, 7 months ago (2015-05-22 15:17:29 UTC) #18
Alexei Svitkine (slow)
https://codereview.chromium.org/1108333002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1108333002/diff/80001/tools/metrics/histograms/histograms.xml#newcode41750 tools/metrics/histograms/histograms.xml:41750: +<histogram name="TopChromeMD"> I don't see where you're logging this ...
5 years, 7 months ago (2015-05-22 16:56:44 UTC) #19
girard
On 2015/05/22 16:56:44, Alexei Svitkine wrote: > https://codereview.chromium.org/1108333002/diff/80001/tools/metrics/histograms/histograms.xml > File tools/metrics/histograms/histograms.xml (right): > > https://codereview.chromium.org/1108333002/diff/80001/tools/metrics/histograms/histograms.xml#newcode41750 ...
5 years, 7 months ago (2015-05-22 17:20:53 UTC) #20
Alexei Svitkine (slow)
lgtm
5 years, 7 months ago (2015-05-22 18:20:44 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1108333002/100001
5 years, 7 months ago (2015-05-22 18:25:12 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/55699) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 7 months ago (2015-05-22 18:30:43 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1108333002/120001
5 years, 7 months ago (2015-05-22 19:58:22 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 7 months ago (2015-05-22 22:01:12 UTC) #30
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/fca876aa8f6905a75976ef0e15338b896d1a64e6 Cr-Commit-Position: refs/heads/master@{#331187}
5 years, 7 months ago (2015-05-22 22:02:07 UTC) #31
Dan Beam
https://codereview.chromium.org/1108333002/diff/120001/build/config/BUILD.gn File build/config/BUILD.gn (right): https://codereview.chromium.org/1108333002/diff/120001/build/config/BUILD.gn#newcode231 build/config/BUILD.gn:231: defines += [ "ENABLE_TOPCHRME_MD=1" ] note: misspelled https://codereview.chromium.org/1108333002/diff/120001/chrome/common/chrome_switches.h File ...
5 years, 6 months ago (2015-06-24 21:45:07 UTC) #33
tdanderson
On 2015/06/24 21:45:07, Dan Beam wrote: > https://codereview.chromium.org/1108333002/diff/120001/build/config/BUILD.gn > File build/config/BUILD.gn (right): > > https://codereview.chromium.org/1108333002/diff/120001/build/config/BUILD.gn#newcode231 ...
5 years, 6 months ago (2015-06-24 21:49:35 UTC) #34
Dan Beam
5 years, 6 months ago (2015-06-24 21:51:19 UTC) #35
Message was sent while issue was closed.
On 2015/06/24 21:49:35, tdanderson wrote:
> On 2015/06/24 21:45:07, Dan Beam wrote:
> > https://codereview.chromium.org/1108333002/diff/120001/build/config/BUILD.gn
> > File build/config/BUILD.gn (right):
> > 
> >
>
https://codereview.chromium.org/1108333002/diff/120001/build/config/BUILD.gn#...
> > build/config/BUILD.gn:231: defines += [ "ENABLE_TOPCHRME_MD=1" ]
> > note: misspelled
> > 
> >
>
https://codereview.chromium.org/1108333002/diff/120001/chrome/common/chrome_s...
> > File chrome/common/chrome_switches.h (right):
> > 
> >
>
https://codereview.chromium.org/1108333002/diff/120001/chrome/common/chrome_s...
> > chrome/common/chrome_switches.h:300: #ifdef ENABLE_TOPCHROME_MD
> > prefer #if defined() to #ifdef
> > 
> >
>
https://codereview.chromium.org/1108333002/diff/120001/chrome/common/chrome_s...
> > chrome/common/chrome_switches.h:301: extern const char kTopChromeMD[];
> > ^ this is never used and I have no idea why it's necessary (or what it's
> > supposed to do) when you've got an "enabled" and "disabled" flag...
> 
> dbeam@, this CL has already landed, but further modifications to the
> flags are in progress here: https://codereview.chromium.org/1188713007/

I'm looking at that as well

Powered by Google App Engine
This is Rietveld 408576698