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

Issue 2524213002: MacViews: Consolidate flags. Just use --secondary-ui-md to enable MacViews. (Closed)

Created:
4 years ago by tapted
Modified:
4 years ago
Reviewers:
karandeepb, msw, Evan Stade
CC:
chromium-reviews, asvitkine+watch_chromium.org, mac-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org, Elly Fong-Jones
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9 Cr-Commit-Position: refs/heads/master@{#435575}

Patch Set 1 #

Patch Set 2 : zap ToolkitViewsWebUIDialogsEnabled #

Patch Set 3 : Like a bandaid... #

Patch Set 4 : remove obsolete comment from r409593 #

Total comments: 1

Patch Set 5 : rebase for r435075 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -88 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 2 chunks +1 line, -13 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_dialogs.h View 1 2 3 4 3 chunks +0 lines, -20 lines 0 comments Download
M chrome/browser/ui/browser_dialogs_mac.cc View 1 2 1 chunk +0 lines, -27 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_views.mm View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa.mm View 1 2 3 4 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/login_handler_cocoa.mm View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/task_manager_mac.mm View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/permission_prompt_impl_views_mac.mm View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/javascript_dialogs/javascript_dialog_mac.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/browser_dialogs_views_mac.cc View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 46 (31 generated)
tapted
Hi Elly - wdyt? https://codereview.chromium.org/2524213002/diff/60001/chrome/browser/ui/views/browser_dialogs_views_mac.cc File chrome/browser/ui/views/browser_dialogs_views_mac.cc (left): https://codereview.chromium.org/2524213002/diff/60001/chrome/browser/ui/views/browser_dialogs_views_mac.cc#oldcode64 chrome/browser/ui/views/browser_dialogs_views_mac.cc:64: // on Mac also means ...
4 years ago (2016-11-28 07:45:51 UTC) #17
tapted
+karan maybe you can do a sanity check before I send to OWNERS - Thanks!
4 years ago (2016-11-29 03:45:39 UTC) #19
karandeepb
lgtm
4 years ago (2016-11-29 05:00:25 UTC) #20
tapted
+msw for chrome/browser/ui/OWNERS - thanks!
4 years ago (2016-11-29 05:02:42 UTC) #23
msw
+Evan as 'owner' of --secondary-ui-md. Does continued use of this flag for Mac Views make ...
4 years ago (2016-11-29 18:46:34 UTC) #25
tapted
estade: ping?
4 years ago (2016-11-30 21:32:32 UTC) #26
Evan Stade
On 2016/11/30 21:32:32, tapted wrote: > estade: ping? Sorry. Is there a particular file you'd ...
4 years ago (2016-11-30 23:36:47 UTC) #27
tapted
On 2016/11/30 23:36:47, Evan Stade wrote: > On 2016/11/30 21:32:32, tapted wrote: > > estade: ...
4 years ago (2016-11-30 23:38:25 UTC) #28
msw
I still think it's a bit odd, since secondary-ui-md might want to default-on for Win/Linux/Cros ...
4 years ago (2016-12-01 02:00:04 UTC) #29
tapted
On 2016/12/01 02:00:04, msw wrote: > I still think it's a bit odd, since secondary-ui-md ...
4 years ago (2016-12-01 02:05:53 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2524213002/60001
4 years ago (2016-12-01 02:06:38 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/315371)
4 years ago (2016-12-01 02:09:58 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2524213002/80001
4 years ago (2016-12-01 07:34:58 UTC) #41
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-01 07:39:40 UTC) #44
commit-bot: I haz the power
4 years ago (2016-12-01 07:41:54 UTC) #46
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/25c139f15b7a4fc7d6f652ac48ba8688e1e9fbc9
Cr-Commit-Position: refs/heads/master@{#435575}

Powered by Google App Engine
This is Rietveld 408576698