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

Issue 1955773002: Enable MD by default on Windows for Canary/Dev and local builds. (Closed)

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

Description

Enable MD by default on Windows for Canary/Dev and local builds. Allow a field trial to override the default enable state. BUG=609044 TEST=none Committed: https://crrev.com/56100334b16d67730fef9918be5b0c1131dacad9 Cr-Commit-Position: refs/heads/master@{#393992}

Patch Set 1 #

Patch Set 2 : Make field trial work #

Patch Set 3 : Rebase #

Total comments: 8

Patch Set 4 : Don't break first run #

Total comments: 12

Patch Set 5 : Review comments, Mac fix #

Total comments: 2

Patch Set 6 : DISALLOW_IMPLICIT_CONSTRUCTORS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -102 lines) Patch
M chrome/app/chrome_main_delegate.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 3 chunks +69 lines, -59 lines 0 comments Download
M chrome/browser/first_run/first_run.cc View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/startup/bad_flags_prompt.cc View 1 2 3 2 chunks +2 lines, -14 lines 0 comments Download
M ui/base/material_design/material_design_controller.h View 1 2 3 4 5 4 chunks +8 lines, -8 lines 0 comments Download
M ui/base/material_design/material_design_controller.cc View 1 2 3 4 6 chunks +35 lines, -14 lines 0 comments Download
M ui/base/material_design/material_design_controller_unittest.cc View 1 2 3 4 4 chunks +10 lines, -6 lines 0 comments Download
M ui/base/resource/resource_bundle.h View 1 2 3 4 1 chunk +23 lines, -0 lines 0 comments Download
M ui/base/resource/resource_bundle.cc View 1 2 3 4 3 chunks +28 lines, -0 lines 0 comments Download
M ui/base/test/material_design_controller_test_api.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/test/material_design_controller_test_api.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (8 generated)
Peter Kasting
mpearson: Please check if the way I did the field trial stuff in material_design_controller.cc makes ...
4 years, 7 months ago (2016-05-06 05:46:09 UTC) #2
varkha
https://codereview.chromium.org/1955773002/diff/40001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/1955773002/diff/40001/chrome/browser/chrome_browser_main.cc#newcode1008 chrome/browser/chrome_browser_main.cc:1008: if (first_run::IsChromeFirstRun()) { This seems like the riskiest area ...
4 years, 7 months ago (2016-05-06 14:58:22 UTC) #3
varkha
https://codereview.chromium.org/1955773002/diff/40001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/1955773002/diff/40001/chrome/browser/chrome_browser_main.cc#newcode1006 chrome/browser/chrome_browser_main.cc:1006: // browser's profile_manager object is created, but after ResourceBundle ...
4 years, 7 months ago (2016-05-06 16:32:16 UTC) #4
varkha
https://codereview.chromium.org/1955773002/diff/40001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/1955773002/diff/40001/chrome/browser/chrome_browser_main.cc#newcode1010 chrome/browser/chrome_browser_main.cc:1010: first_run::ProcessMasterPreferences(user_data_dir_, I think this may call ShowPostInstallEULAIfNeeded which if ...
4 years, 7 months ago (2016-05-06 17:02:55 UTC) #5
Mark P
Do you have a command line to control the MD state? If so, then do ...
4 years, 7 months ago (2016-05-06 20:40:57 UTC) #7
Peter Kasting
On 2016/05/06 20:40:57, Mark P wrote: > Do you have a command line to control ...
4 years, 7 months ago (2016-05-06 20:49:12 UTC) #8
Mark P
Field trial usage looks good to me. On 2016/05/06 20:49:12, Peter Kasting wrote: > On ...
4 years, 7 months ago (2016-05-06 21:31:43 UTC) #9
Peter Kasting
+sky for ui/ OWNERS review. https://codereview.chromium.org/1955773002/diff/40001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/1955773002/diff/40001/chrome/browser/chrome_browser_main.cc#newcode1006 chrome/browser/chrome_browser_main.cc:1006: // browser's profile_manager object ...
4 years, 7 months ago (2016-05-13 06:36:46 UTC) #11
sky
https://codereview.chromium.org/1955773002/diff/60001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/1955773002/diff/60001/chrome/browser/chrome_browser_main.cc#newcode1134 chrome/browser/chrome_browser_main.cc:1134: ui::ResourceBundle::InitSharedInstanceWithLocale( Is resourcebundle set up to have Init called ...
4 years, 7 months ago (2016-05-13 15:49:57 UTC) #12
varkha
https://codereview.chromium.org/1955773002/diff/60001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/1955773002/diff/60001/chrome/browser/chrome_browser_main.cc#newcode1100 chrome/browser/chrome_browser_main.cc:1100: (channel == version_info::Channel::DEV)); Could this channel check be done ...
4 years, 7 months ago (2016-05-14 05:03:08 UTC) #13
Peter Kasting
https://codereview.chromium.org/1955773002/diff/60001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/1955773002/diff/60001/chrome/browser/chrome_browser_main.cc#newcode1100 chrome/browser/chrome_browser_main.cc:1100: (channel == version_info::Channel::DEV)); On 2016/05/14 05:03:08, varkha wrote: > ...
4 years, 7 months ago (2016-05-16 19:53:16 UTC) #14
sky
LGTM https://codereview.chromium.org/1955773002/diff/80001/ui/base/material_design/material_design_controller.h File ui/base/material_design/material_design_controller.h (right): https://codereview.chromium.org/1955773002/diff/80001/ui/base/material_design/material_design_controller.h#newcode63 ui/base/material_design/material_design_controller.h:63: MaterialDesignController() = delete; DISALLOW_IMPLICIT_CONSTRUCTORS?
4 years, 7 months ago (2016-05-16 19:56:11 UTC) #15
varkha
Thanks for explaining this, makes sense. lgtm.
4 years, 7 months ago (2016-05-16 22:42:06 UTC) #16
Peter Kasting
https://codereview.chromium.org/1955773002/diff/80001/ui/base/material_design/material_design_controller.h File ui/base/material_design/material_design_controller.h (right): https://codereview.chromium.org/1955773002/diff/80001/ui/base/material_design/material_design_controller.h#newcode63 ui/base/material_design/material_design_controller.h:63: MaterialDesignController() = delete; On 2016/05/16 19:56:10, sky wrote: > ...
4 years, 7 months ago (2016-05-16 23:09:15 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1955773002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1955773002/100001
4 years, 7 months ago (2016-05-16 23:09:41 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-17 00:28:26 UTC) #22
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/56100334b16d67730fef9918be5b0c1131dacad9 Cr-Commit-Position: refs/heads/master@{#393992}
4 years, 7 months ago (2016-05-17 00:29:55 UTC) #24
Nico
4 years, 7 months ago (2016-05-17 13:37:32 UTC) #26
Message was sent while issue was closed.
I think this broke tests in official builds. Filed
https://bugs.chromium.org/p/chromium/issues/detail?id=612437

Powered by Google App Engine
This is Rietveld 408576698