New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 642920 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocking:
issue 630357



Sign in to add a comment

Replace all STYLE_BUTTON label buttons with MdTextButton

Project Member Reported by est...@chromium.org, Aug 31 2016

Issue description

In Harmony, MdTextButton will replace STYLE_BUTTON buttons. For now there are factory functions that allow you to create the appropriate button type based on the command line flags you pass.
 
Project Member

Comment 2 by bugdroid1@chromium.org, Sep 1 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/05cb506faa6d5da3990acc94b915bdb8a7768478

commit 05cb506faa6d5da3990acc94b915bdb8a7768478
Author: estade <estade@chromium.org>
Date: Thu Sep 01 23:04:50 2016

Change buttons in WindowTypeLauncher to MdTextButton

This isn't guarded by any flag because it's non-production code. You
can see the WindowTypeLauncher by building and running
ash_shell_with_content.

BUG=642920

Review-Url: https://codereview.chromium.org/2299583003
Cr-Commit-Position: refs/heads/master@{#416107}

[modify] https://crrev.com/05cb506faa6d5da3990acc94b915bdb8a7768478/ash/shell/window_type_launcher.cc
[modify] https://crrev.com/05cb506faa6d5da3990acc94b915bdb8a7768478/ash/shell/window_type_launcher.h
[modify] https://crrev.com/05cb506faa6d5da3990acc94b915bdb8a7768478/mash/example/window_type_launcher/window_type_launcher.cc

Project Member

Comment 4 by bugdroid1@chromium.org, Sep 6 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2d4a2889b976a49a743d7ba32797883190af303b

commit 2d4a2889b976a49a743d7ba32797883190af303b
Author: estade <estade@chromium.org>
Date: Tue Sep 06 23:03:50 2016

Make notifier settings combobox a real combobox.

It looks and acts like a combobox but was actually a menu button. I
needed to change this to remove another reference to STYLE_BUTTON, and
generally to improve consistency of appearance and behavior.

I also got sucked into rearranging padding/margins.

BUG=642920

Review-Url: https://codereview.chromium.org/2300893002
Cr-Commit-Position: refs/heads/master@{#416749}

[modify] https://crrev.com/2d4a2889b976a49a743d7ba32797883190af303b/ui/base/models/combobox_model.h
[modify] https://crrev.com/2d4a2889b976a49a743d7ba32797883190af303b/ui/message_center/views/notifier_settings_view.cc
[modify] https://crrev.com/2d4a2889b976a49a743d7ba32797883190af303b/ui/message_center/views/notifier_settings_view.h

Comment 7 Deleted

Is there any manual repro steps available to verify this issue on Dev #55.0.2873.0 from Chrome-TE end ?
Project Member

Comment 9 by bugdroid1@chromium.org, May 4 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3766983525e4061113eadae678d3f18e6010fe81

commit 3766983525e4061113eadae678d3f18e6010fe81
Author: estade <estade@chromium.org>
Date: Thu May 04 16:54:54 2017

Remove a new usage of LabelButton::SetStyle (in ChromeCleanerDialog).

This still can't be removed until secondary MD is on by default (and it
can't be protected for now either since Translate is still using it).
Rename to SetStyleDeprecated to discourage further use.

BUG=642920

Review-Url: https://codereview.chromium.org/2855093002
Cr-Commit-Position: refs/heads/master@{#469362}

[modify] https://crrev.com/3766983525e4061113eadae678d3f18e6010fe81/chrome/browser/ui/views/chrome_cleaner_dialog.cc
[modify] https://crrev.com/3766983525e4061113eadae678d3f18e6010fe81/chrome/browser/ui/views/chrome_cleaner_dialog.h
[modify] https://crrev.com/3766983525e4061113eadae678d3f18e6010fe81/chrome/browser/ui/views/translate/translate_bubble_view.cc
[modify] https://crrev.com/3766983525e4061113eadae678d3f18e6010fe81/ui/views/controls/button/blue_button.cc
[modify] https://crrev.com/3766983525e4061113eadae678d3f18e6010fe81/ui/views/controls/button/blue_button_unittest.cc
[modify] https://crrev.com/3766983525e4061113eadae678d3f18e6010fe81/ui/views/controls/button/label_button.cc
[modify] https://crrev.com/3766983525e4061113eadae678d3f18e6010fe81/ui/views/controls/button/label_button.h
[modify] https://crrev.com/3766983525e4061113eadae678d3f18e6010fe81/ui/views/controls/button/label_button_unittest.cc
[modify] https://crrev.com/3766983525e4061113eadae678d3f18e6010fe81/ui/views/controls/button/md_text_button.cc
[modify] https://crrev.com/3766983525e4061113eadae678d3f18e6010fe81/ui/views/examples/button_example.cc
[modify] https://crrev.com/3766983525e4061113eadae678d3f18e6010fe81/ui/views/examples/widget_example.cc

Sign in to add a comment