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

Issue 2650583012: MacViews: Enable views based Ask Google For Suggestions dialog behind secondary-ui-md flag. (Closed)

Created:
3 years, 11 months ago by karandeepb
Modified:
3 years, 10 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 Ask Google For Suggestions dialog behind secondary-ui-md flag. This CL puts the views based Ask Google For Suggestions 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. This CL also enables confirm_bubble_views_unittest.cc on Mac. Since there doesn't seem to be any existing browser test for the dialog, a browser test utilizing the DialogBrowserTest framework is also added. BUG=662128, 654139 TEST=Run out/Default/browser_tests --gtest_filter=BrowserDialogTest.Invoke --dialog=AskGoogleForSuggestionsDialogTest.InvokeDialog_default --interactive Review-Url: https://codereview.chromium.org/2650583012 Cr-Commit-Position: refs/heads/master@{#447446} Committed: https://chromium.googlesource.com/chromium/src/+/80b77aca94a93d7c54cb2b013f02469a6c4cf523

Patch Set 1 #

Patch Set 2 : Don't run browsertest on non-Mac platforms. #

Total comments: 4

Patch Set 3 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -24 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
A chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/confirm_bubble_cocoa.mm View 1 2 1 chunk +0 lines, -21 lines 0 comments Download
A chrome/browser/ui/cocoa/confirm_bubble_views_mac.mm View 1 chunk +48 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/confirm_bubble_views.cc View 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 37 (22 generated)
karandeepb
PTAL Trent. https://codereview.chromium.org/2650583012/diff/20001/chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc File chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc (right): https://codereview.chromium.org/2650583012/diff/20001/chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc#newcode32 chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc:32: // Initially disabled except on Mac due ...
3 years, 11 months ago (2017-01-25 11:08:28 UTC) #10
tapted
nice! lgtm https://codereview.chromium.org/2650583012/diff/20001/chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc File chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc (right): https://codereview.chromium.org/2650583012/diff/20001/chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc#newcode32 chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc:32: // Initially disabled except on Mac due ...
3 years, 11 months ago (2017-01-27 02:09:50 UTC) #13
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/2650583012/20001
3 years, 11 months ago (2017-01-27 02:14:12 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/351710)
3 years, 11 months ago (2017-01-27 02:24:16 UTC) #17
karandeepb
PTAL msw@ for -chrome/browser/ui/views/confirm_bubble_views.cc and -chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc review.
3 years, 11 months ago (2017-01-27 02:26:37 UTC) #19
msw
nice; lgtm. I hope we can enable the test on other platforms soon.
3 years, 10 months ago (2017-01-27 23:26:55 UTC) #20
tapted
https://codereview.chromium.org/2650583012/diff/20001/chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc File chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc (right): https://codereview.chromium.org/2650583012/diff/20001/chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc#newcode32 chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc:32: // Initially disabled except on Mac due to http://crbug.com/683808. ...
3 years, 10 months ago (2017-01-31 23:52:39 UTC) #21
karandeepb
https://codereview.chromium.org/2650583012/diff/20001/chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc File chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc (right): https://codereview.chromium.org/2650583012/diff/20001/chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc#newcode32 chrome/browser/ui/ask_google_for_suggestions_dialog_browsertest.cc:32: // Initially disabled except on Mac due to http://crbug.com/683808. ...
3 years, 10 months ago (2017-02-01 00:01:19 UTC) #22
karandeepb
Did not realize that I had not submitted this. Trent, on my Linux workstation, the ...
3 years, 10 months ago (2017-02-01 00:26:44 UTC) #23
tapted
On 2017/02/01 00:26:44, karandeepb wrote: > Did not realize that I had not submitted this. ...
3 years, 10 months ago (2017-02-01 00:32:32 UTC) #24
karandeepb
On 2017/02/01 00:32:32, tapted wrote: > On 2017/02/01 00:26:44, karandeepb wrote: > > Did not ...
3 years, 10 months ago (2017-02-01 01:54:27 UTC) #25
tapted
On 2017/02/01 01:54:27, karandeepb wrote: > On 2017/02/01 00:32:32, tapted wrote: > > On 2017/02/01 ...
3 years, 10 months ago (2017-02-01 01:56:45 UTC) #26
karandeepb
On 2017/02/01 01:56:45, tapted wrote: > On 2017/02/01 01:54:27, karandeepb wrote: > > On 2017/02/01 ...
3 years, 10 months ago (2017-02-01 02:02:16 UTC) #29
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/2650583012/40001
3 years, 10 months ago (2017-02-01 04:12:12 UTC) #34
commit-bot: I haz the power
3 years, 10 months ago (2017-02-01 04:17:58 UTC) #37
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/80b77aca94a93d7c54cb2b013f02...

Powered by Google App Engine
This is Rietveld 408576698