Commit 366ad8ea authored by Christopher Cameron's avatar Christopher Cameron Committed by Commit Bot

RemoteMacViews: Re-enable print menu item in PWA mode

Leave the "print using system dialog" item (which appears when
one presses option) disabled, because that interface appears in
the Chrome process (instead of the app process).

Bug: 913396
Change-Id: Ifd5715d68fbc532533834b869a1931ed3a48237d
Reviewed-on: https://chromium-review.googlesource.com/c/1371941Reviewed-by: default avatarDominick Ng <dominickn@chromium.org>
Commit-Queue: ccameron <ccameron@chromium.org>
Cr-Commit-Position: refs/heads/master@{#615697}
parent b8e01908
...@@ -118,7 +118,7 @@ base::scoped_nsobject<NSMenuItem> BuildFileMenu( ...@@ -118,7 +118,7 @@ base::scoped_nsobject<NSMenuItem> BuildFileMenu(
.remove_if(is_pwa), .remove_if(is_pwa),
Item().is_separator().remove_if(is_pwa), Item().is_separator().remove_if(is_pwa),
Item(IDS_SHARE_MAC).remove_if(is_pwa), Item().is_separator(), Item(IDS_SHARE_MAC).remove_if(is_pwa), Item().is_separator(),
Item(IDS_PRINT).command_id(IDC_PRINT).remove_if(is_pwa), Item(IDS_PRINT).command_id(IDC_PRINT),
Item(IDS_PRINT_USING_SYSTEM_DIALOG_MAC) Item(IDS_PRINT_USING_SYSTEM_DIALOG_MAC)
.command_id(IDC_BASIC_PRINT) .command_id(IDC_BASIC_PRINT)
.is_alternate() .is_alternate()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment