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

Issue 658105 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug

Blocking:
issue 662128



Sign in to add a comment

Consolidate MacViews+Harmony flags on Mac (there should be one flag, not three)

Project Member Reported by lgar...@chromium.org, Oct 21 2016

Issue description

Chrome 56.0.2893.0
OSX 10.11.6

What steps will reproduce the problem?
(1) Enable MacViews, but not Harmony
(2) Visit https://permission.site
(3) Press on "Location"
(4) Press and hold "Allow" in the permission bubble. 

What is the expected output?
"Allow stays readable"

What do you see instead?
"Allow" stays white. (See screenshot.

Please use labels and text to provide additional information.

 
Screen Shot 2016-10-20 at 18.48.03.png
42.4 KB View Download
Description: Show this description
Status: WontFix (was: Assigned)
This is expected - we aren't shipping any MacViews UI without Harmony, and non-Harmony MacViews is only partly implemented. If you plan to ship non-Harmony MacViews UI, please consult with the MacViews team.
> we aren't shipping any MacViews UI without Harmony

In that case, could we simplify the flags and the code paths to assume that?

Comment 4 by tapted@chromium.org, Nov 15 2016

Cc: ellyjo...@chromium.org
Labels: -Pri-3 M-56 Pri-1
Owner: tapted@chromium.org
Status: Started (was: WontFix)
Summary: Consolidate MacViews+Harmony flags on Mac (there should be one flag, not three) (was: Non-Harmony MacViews permission bubble button pressed state has white text on a light background)
Yup.

Comment 5 by tapted@chromium.org, Nov 22 2016

Cc: msrchandra@chromium.org ranjitkan@chromium.org nyerramilli@chromium.org
 Issue 667639  has been merged into this issue.
Thanks for the CL, tapted@ – I appreciate the flag simplification a lot!

Comment 8 by tapted@chromium.org, Nov 29 2016

Blocking: 662128
Project Member

Comment 9 by bugdroid1@chromium.org, Dec 1 2016

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

commit 25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9
Author: tapted <tapted@chromium.org>
Date: Thu Dec 01 07:39:03 2016

MacViews: Consolidate flags. Just use --secondary-ui-md to enable MacViews.

The "Harmony" control style diverges sufficiently from AppKit controls
such that we should no longer distinguish between "WebUI" and "AppKit"
themes for native dialogs when selecting whether to use the
toolkit-views or Cocoa version of a dialog.

Also the toolkit-views theme currently breaks on Mac when not used in
conjunction with --secondary-ui-md.

--secondary-ui-md describes the outcome nicely, so collapse the
"MacViewsNativeDialogs" and "MacViewsWebUIDialogs" feature flags into
--secondary-ui-md.

BUG= 658105 

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

[modify] https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9/chrome/app/generated_resources.grd
[modify] https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9/chrome/browser/about_flags.cc
[modify] https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9/chrome/browser/ui/BUILD.gn
[modify] https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9/chrome/browser/ui/browser_dialogs.h
[delete] https://crrev.com/e9b2ece8b371f59f37e42159da4c00313d67407f/chrome/browser/ui/browser_dialogs_mac.cc
[modify] https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9/chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_views.mm
[modify] https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9/chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm
[modify] https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9/chrome/browser/ui/cocoa/browser_window_controller.mm
[modify] https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9/chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa.mm
[modify] https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm
[modify] https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm
[modify] https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9/chrome/browser/ui/cocoa/login_handler_cocoa.mm
[modify] https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9/chrome/browser/ui/cocoa/task_manager_mac.mm
[modify] https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9/chrome/browser/ui/cocoa/website_settings/permission_prompt_impl_views_mac.mm
[modify] https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm
[modify] https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9/chrome/browser/ui/javascript_dialogs/javascript_dialog_mac.cc
[modify] https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9/chrome/browser/ui/views/browser_dialogs_views_mac.cc

Status: Fixed (was: Started)

Sign in to add a comment