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

Issue 1878973002: [reland] Makes MaterialDesignController initialization explicit (Closed)

Created:
4 years, 8 months ago by varkha
Modified:
4 years, 8 months ago
Reviewers:
sky
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, sadrul, Peter Beverloo, tfarina, mlamouri+watch-notifications_chromium.org, jam, darin-cc_chromium.org, kalyank, mkwst+moarreviews-shell_chromium.org, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixing NotifierSettingsViewTest.TestLearnMoreButton Relanding https://codereview.chromium.org/1845343005/. This CL corrects the test by inheriting NotifierSettingsViewTest from ViewsTestBase. BUG=595108 TBR=sky@chromium.org, mkwst@chromium.org, kjellander@chromium.org Committed: https://crrev.com/0b40cc39d6a3f5e932374d84d1aba315fcab409e Cr-Commit-Position: refs/heads/master@{#387186}

Patch Set 1 : Original CL - https://codereview.chromium.org/1845343005/ #

Patch Set 2 : Fixing NotifierSettingsViewTest.TestLearnMoreButton #

Patch Set 3 : Can run ContentTestSuiteBase tests after ThemeServiceMaterialDesignTest #

Patch Set 4 : Made it possible to restore MaterialDesignController state after each test case #

Total comments: 6

Patch Set 5 : Made it possible to restore MaterialDesignController state after each test case (rebase) #

Patch Set 6 : Made it possible to restore MaterialDesignController state after each test case (nits) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+265 lines, -118 lines) Patch
M ash/test/ash_test_helper.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/app/resources/resources_unittest.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_action_icon_factory_unittest.cc View 1 2 3 2 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/themes/theme_service_unittest.cc View 1 2 3 1 chunk +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_ui.h View 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_ui.cc View 4 chunks +33 lines, -19 lines 0 comments Download
M chrome/browser/ui/startup/bad_flags_prompt.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar_unittest.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar_unittest.cc View 1 2 3 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/service/service_process.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/test/browser_test_base.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M content/public/test/content_test_suite_base.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/test/test_renderer_host.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M content/shell/browser/shell_browser_main_parts.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M ui/aura/test/aura_test_base.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M ui/base/material_design/material_design_controller.h View 1 2 3 2 chunks +6 lines, -6 lines 0 comments Download
M ui/base/material_design/material_design_controller.cc View 1 2 3 3 chunks +35 lines, -30 lines 0 comments Download
M ui/base/material_design/material_design_controller_unittest.cc View 1 2 3 6 chunks +67 lines, -24 lines 0 comments Download
M ui/base/test/material_design_controller_test_api.h View 1 2 3 4 5 1 chunk +10 lines, -3 lines 0 comments Download
M ui/base/test/material_design_controller_test_api.cc View 1 2 3 4 5 1 chunk +11 lines, -4 lines 0 comments Download
M ui/message_center/views/bounded_label_unittest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M ui/message_center/views/message_center_view_unittest.cc View 1 2 3 5 chunks +4 lines, -3 lines 0 comments Download
M ui/message_center/views/notifier_settings_view_unittest.cc View 1 2 3 4 chunks +4 lines, -1 line 0 comments Download
M ui/shell_dialogs/run_all_unittests.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M ui/views/animation/ink_drop_animation_controller_factory_unittest.cc View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M ui/views/controls/button/label_button_unittest.cc View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
M ui/views/linux_ui/linux_ui.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/test/views_test_base.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (21 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/1878973002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878973002/1
4 years, 8 months ago (2016-04-12 13:05:30 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878973002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878973002/40001
4 years, 8 months ago (2016-04-12 13:10:57 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-12 14:18:23 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878973002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878973002/60001
4 years, 8 months ago (2016-04-12 16:02:48 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-12 17:15:41 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878973002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878973002/80001
4 years, 8 months ago (2016-04-13 19:33:19 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/50356)
4 years, 8 months ago (2016-04-13 19:46:02 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878973002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878973002/100001
4 years, 8 months ago (2016-04-13 20:21:30 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878973002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878973002/140001
4 years, 8 months ago (2016-04-13 21:14:56 UTC) #24
varkha
sky@, can you please take another look? I kept patch set #1 as the previous ...
4 years, 8 months ago (2016-04-13 21:16:55 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-13 22:22:36 UTC) #28
sky
LGTM https://codereview.chromium.org/1878973002/diff/140001/ui/base/test/material_design_controller_test_api.cc File ui/base/test/material_design_controller_test_api.cc (right): https://codereview.chromium.org/1878973002/diff/140001/ui/base/test/material_design_controller_test_api.cc#newcode7 ui/base/test/material_design_controller_test_api.cc:7: #include "base/logging.h" Do you really need this include? ...
4 years, 8 months ago (2016-04-13 23:49:58 UTC) #29
varkha
Thanks! https://codereview.chromium.org/1878973002/diff/140001/ui/base/test/material_design_controller_test_api.cc File ui/base/test/material_design_controller_test_api.cc (right): https://codereview.chromium.org/1878973002/diff/140001/ui/base/test/material_design_controller_test_api.cc#newcode7 ui/base/test/material_design_controller_test_api.cc:7: #include "base/logging.h" On 2016/04/13 23:49:58, sky wrote: > ...
4 years, 8 months ago (2016-04-14 00:03:33 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878973002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878973002/180001
4 years, 8 months ago (2016-04-14 00:04:36 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:180001)
4 years, 8 months ago (2016-04-14 01:13:15 UTC) #35
commit-bot: I haz the power
4 years, 8 months ago (2016-04-14 01:14:16 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/0b40cc39d6a3f5e932374d84d1aba315fcab409e
Cr-Commit-Position: refs/heads/master@{#387186}

Powered by Google App Engine
This is Rietveld 408576698