DescriptionMoved --top-chrome-md command line switch from chrome_switches to ui_base_switches.
The switch needed to be accessible from ui/base/resources for loading the different assets.
Also defined the ENABLE_TOPCHROME_MD compile time switch on linux builds.
TEST=MaterialDesignControllerTest.NonMaterialModeWhenCompileTimeFlagDisabled
TEST=MaterialDesignControllerTest.EnabledCommandLineValueMapsToMaterialModeWhenCompileTimeFlagEnabled
TEST=MaterialDesignControllerTest.EnabledHybridCommandLineValueMapsToMaterialHybridModeWhenCompileTimeFlagEnabled
TEST=MaterialDesignControllerTest.DisabledCommandLineValueMapsToNonMaterialModeWhenCompileTimeFlagEnabled
TEST=MaterialDesignControllerTest.NoCommandLineValueMapsToNonMaterialModeWhenCompileTimeFlagEnabled
TEST=MaterialDesignControllerTest.InvalidCommandLineValueFails
BUG=501366
Committed: https://crrev.com/0d89d6ac4a77feaa44da9cb4abb456ca800981b4
Cr-Commit-Position: refs/heads/master@{#336442}
Patch Set 1 #
Total comments: 17
Patch Set 2 : Addressed comments from patch set 1. #Patch Set 3 : Merged with master. #
Total comments: 6
Patch Set 4 : Moved material_design_controller to ui/base/resource/material_design/. #
Total comments: 6
Patch Set 5 : Fixed typo in build/config/BUILD.gn. #
Total comments: 1
Patch Set 6 : Minor nit fixes and reverted typo fix in build/config/BUILD.gn #Patch Set 7 : Added LoginCustomFlags enum entry and removed UI_BASE_EXPORT from TestAPI. #Patch Set 8 : Added guards to a death test so it is not run on a release build. #Patch Set 9 : Removed 'typename' from typedef. #Patch Set 10 : Removed typedef in unittest. #
Total comments: 2
Messages
Total messages: 54 (19 generated)
|