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

Issue 2632653002: MacViews: Enable views based External Protocol dialog behind secondary-ui-md flag. (Closed)

Created:
3 years, 11 months ago by karandeepb
Modified:
3 years, 11 months ago
Reviewers:
tapted, msw
CC:
chromium-reviews, tfarina, mac-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: Enable views based External Protocol dialog behind secondary-ui-md flag. This CL puts the views based External Protocol dialog behind the secondary-ui-md flag. As a result, the views based version is shown with the flag "secondary-ui- md" enabled and the Cocoa version is shown without it. BUG=662128, 652508 Review-Url: https://codereview.chromium.org/2632653002 Cr-Commit-Position: refs/heads/master@{#445688} Committed: https://chromium.googlesource.com/chromium/src/+/c8473e8aa7a2b5b140bd5e6c77f8abab98adb539

Patch Set 1 : -- #

Patch Set 2 : Nit. #

Patch Set 3 : -- #

Patch Set 4 : Fix chromeos #

Total comments: 15

Patch Set 5 : Don't use browser_dialogs.h #

Patch Set 6 : Remove ExternalProtocolHandler::RunExternalProtocolDialogViews. Duplicate some code. #

Patch Set 7 : Add comment #

Patch Set 8 : Fix formatting to reduce diff #

Total comments: 9

Patch Set 9 : Address review. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -151 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 8 4 chunks +6 lines, -5 lines 0 comments Download
D chrome/browser/ui/cocoa/external_protocol_dialog.mm View 1 chunk +0 lines, -130 lines 0 comments Download
A + chrome/browser/ui/cocoa/external_protocol_dialog_cocoa.mm View 1 2 3 4 5 7 1 chunk +0 lines, -12 lines 0 comments Download
A chrome/browser/ui/cocoa/external_protocol_dialog_views_mac.mm View 1 2 3 4 5 1 chunk +51 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/external_protocol_dialog.cc View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -0 lines 2 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 68 (54 generated)
karandeepb
PTAL Trent. Tested cocoa browser with and w/o the flag and the mac_views_browser. The dialog ...
3 years, 11 months ago (2017-01-16 11:13:11 UTC) #10
tapted
Can you add a screenshot somewhere? http://crbug.com/652508 perhaps (and link that bug). Also, BUILDFLAG(MAC_VIEWS_BROWSER) can ...
3 years, 11 months ago (2017-01-17 21:17:13 UTC) #13
karandeepb
Before I make the change, seeing the existing code, I think we wanted to house ...
3 years, 11 months ago (2017-01-19 03:59:43 UTC) #15
tapted
On 2017/01/19 03:59:43, karandeepb wrote: > Before I make the change, seeing the existing code, ...
3 years, 11 months ago (2017-01-20 05:53:44 UTC) #16
tapted
https://codereview.chromium.org/2632653002/diff/80001/chrome/browser/ui/browser_dialogs.h File chrome/browser/ui/browser_dialogs.h (right): https://codereview.chromium.org/2632653002/diff/80001/chrome/browser/ui/browser_dialogs.h#newcode155 chrome/browser/ui/browser_dialogs.h:155: void RunExternalProtocolDialogViews(const GURL& url, On 2017/01/19 03:59:43, karandeepb wrote: ...
3 years, 11 months ago (2017-01-20 05:53:52 UTC) #17
karandeepb
PTAL Trent. https://codereview.chromium.org/2632653002/diff/80001/chrome/browser/chromeos/external_protocol_dialog.cc File chrome/browser/chromeos/external_protocol_dialog.cc (right): https://codereview.chromium.org/2632653002/diff/80001/chrome/browser/chromeos/external_protocol_dialog.cc#newcode30 chrome/browser/chromeos/external_protocol_dialog.cc:30: void RunExternalProtocolDialogViews(const GURL& url, On 2017/01/17 21:17:13, ...
3 years, 11 months ago (2017-01-24 03:23:32 UTC) #51
tapted
Is it easy to invoke? (Can you add instructions on http://crbug.com/652508 ). Otherwise, we should ...
3 years, 11 months ago (2017-01-24 04:02:43 UTC) #52
karandeepb
>>Is it easy to invoke? (Can you add instructions on http://crbug.com/652508 ). >>Otherwise, we should ...
3 years, 11 months ago (2017-01-24 06:12:24 UTC) #56
tapted
lgtm
3 years, 11 months ago (2017-01-24 06:24:20 UTC) #57
karandeepb
PTAL msw@ for chrome/browser/ui/views/external_protocol_dialog.cc.
3 years, 11 months ago (2017-01-24 06:29:34 UTC) #59
msw
lgtm with a minor comment https://codereview.chromium.org/2632653002/diff/380001/chrome/browser/ui/views/external_protocol_dialog.cc File chrome/browser/ui/views/external_protocol_dialog.cc (right): https://codereview.chromium.org/2632653002/diff/380001/chrome/browser/ui/views/external_protocol_dialog.cc#newcode35 chrome/browser/ui/views/external_protocol_dialog.cc:35: // This should be ...
3 years, 11 months ago (2017-01-24 08:39:37 UTC) #62
karandeepb
https://codereview.chromium.org/2632653002/diff/380001/chrome/browser/ui/views/external_protocol_dialog.cc File chrome/browser/ui/views/external_protocol_dialog.cc (right): https://codereview.chromium.org/2632653002/diff/380001/chrome/browser/ui/views/external_protocol_dialog.cc#newcode35 chrome/browser/ui/views/external_protocol_dialog.cc:35: // This should be kept in sync with RunExternalProtocolDialogViews ...
3 years, 11 months ago (2017-01-24 08:43:57 UTC) #63
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/2632653002/380001
3 years, 11 months ago (2017-01-24 09:06:31 UTC) #65
commit-bot: I haz the power
3 years, 11 months ago (2017-01-24 09:13:07 UTC) #68
Message was sent while issue was closed.
Committed patchset #9 (id:380001) as
https://chromium.googlesource.com/chromium/src/+/c8473e8aa7a2b5b140bd5e6c77f8...

Powered by Google App Engine
This is Rietveld 408576698